Zum Hauptinhalt springen

Get list of Orders

GET/orders/
v2
GET
order-list-orders

The list of Orders the User has access to.

Request

Responses

Response-Header

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

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)
          deprecated

          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?includesStatus=NEW&excludesStatus=NEW&templateNames=string&limit=50&page=1