v1

latestOpenAPI 3.0.02026-07-1315476656.4 KB
Order

Find order discounts

Returns all discounts of an order

get/Order/{orderId}/getDiscounts

Path parameters

orderIdinteger required

ID of order to return the positions

Query parameters

limitinteger

limits the number of entries returned

offsetinteger

set the index where the returned entries start

embedstring[]

Get some additional information. Embed can handle multiple values, they must be separated by comma.

Response

Successful operation

Example response

{
  "objects": [
    {
      "id": "0",
      "objectName": "Discounts",
      "create": "01.01.2020",
      "update": "01.01.2020",
      "object": {
        "id": "0",
        "objectName": "Order"
      },
      "sevClient": "0",
      "percentage": "1",
      "value": "10",
      "isNet": "1"
    }
  ]
}