Skip to main content

Get list of Orders

GET/orders/
v2
GET
order-list-orders

The list of Orders the User has access to.

Request

Responses

application/json
  • Array[
  • *object
    • contractChangeContractIdstring (uuid)
    • customerIdstring (≥ 1 characters)
      required
    • dueDatestring (date-time)
    • invoicingPeriodnumber
      required

      Invoicing period in months

    • itemsarray of object
      required
      • Array[
      • *object
        • addonsarray of object
          • Array[
          • *object
            • hiddenboolean
            • keystring
              required
            • valuestring
              required
          • ]
      • articleIdstring
        required
      • articleNamestring
      • articleTemplateNamestring
      • attributeConfigurationarray of object
        • Array[
        • *object
          • keystring
            required
          • valuestring
        • ]
    • isInclusiveboolean
      required
    • orderItemIdstring (uuid)
      required
    • predefinedDomainAggregateIdstring
    • pricenumber
      required
    • referenceobject
      • contractItemIdstring (uuid)
      • offerItemIdstring (uuid)
      • orderItemIdstring (uuid)
  • ]
  • orderDatestring (date-time)
  • orderIdstring (uuid)
    required
  • orderNumberstring (≥ 1 characters)
    required
  • profileobject
    • emailstring (email)
      required
    • firstNamestring
    • lastNamestring
    • titlestring (one of: other, mr, ms)

      the users title

    • userIdstring (uuid)
      required
  • statusstring (one of: NEW, CONFIRMED, REJECTED, ABORTED, EXECUTED)
    required
  • summaryobject
    required
    • nonRecurringnumber
      required
    • recurringnumber
      required
    • summarynumber
      required

      The total price of the order

  • typestring (one of: NEW_ORDER, CONTRACT_CHANGE)
    required
  • ]

    Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/orders?limit=50&page=1&includesStatus=NEW&excludesStatus=NEW&templateNames=string