Zum Hauptinhalt springen

Get list of Orders of a Project

GET/projects/{projectId}/orders/
v2
GET
order-list-project-orders

The list of Order of a Project the User has access to, can be filtered by orderStatus, articleTemplate and count.

Request

  • projectIdstring (uuid)
    required
    Beispiel:"e7c4b2e6-e38f-4c9b-8583-08bd627ff4d8"

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/projects/f0f86186-0a5a-45b2-aa33-502777496347/orders?limit=50&page=1&includesStatus=NEW&excludesStatus=NEW&templateNames=string