Zum Hauptinhalt springen

Get Order for Customer

GET/orders/{orderId}/
v2
GET
order-get-order

Get details of a single Order, User must have access to the Order/Customer.

Request

  • orderIdstring (uuid)
    required
    Beispiel:"123e4567-e89b-12d3-a456-426614174000"

Responses

application/json
  • 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/f0f86186-0a5a-45b2-aa33-502777496347