Read Shop orders

GET /shop/deliveries

Read orders and deliveries in the Shop. This operational list is different from the Shop report. Without a stage filter, it can include open and processed deliveries; use stage=PROCESSED&status=COMPLETED when you need completed deliveries. These routes require Deliveries:READ_LIST permission.

List orders

GET /shop/deliveries accepts these optional query parameters:

  • stage: PENDING for open entries or PROCESSED for processed entries.
  • status: CANCELLED or COMPLETED.
  • supplier: Numeric Supplier ID.
  • from, to: Date range as Unix timestamps in milliseconds.
  • sort: SCHEDULED or CREATED. Sorting by creation date is available for pending deliveries.
  • limit: Page size; defaults to 100. Use a reasonable size rather than ALL for regular integrations.
  • cursor: String from the previous response, passed back unchanged for the next page.

The response contains list and a string cursor or null when there is no next page. Each entry includes numeric id, scheduled, status, total and order (true when linked to a Shop session). supplier, reference and other details may be present. The total.value field requires Deliveries:READ_TOTALS permission.

Use the numeric id with GET /shop/deliveries/{id} to read one delivery. Its response includes an items map and a products map with quantities and any area distribution. After booking a received delivery, read it again until the status is COMPLETED or investigate a non-completing status.

Read ordered Items

GET /shop/deliveries/items

This route groups ordered Items across deliveries. stage=PENDING is the default and includes deliveries with status ORDERED, ACCEPTED or ACKNOWLEDGED. With stage=PROCESSED, it includes only COMPLETED deliveries, and both from and to are required as date strings such as 2025-06-01 and 2025-06-30. Unlike the delivery-list route, this route does not paginate; keep the date range small.

The response has entries. Each entry contains an item, a deliveries array with delivery IDs, scheduled dates and ordered counts, and a total count in the Item's base unit. An empty result is { "entries": [] }.

Download one order

GET /shop/deliveries/{id}/download returns a temporary url for an Excel file. Use the numeric delivery ID and optionally lang=de or lang=en for the file language; the default is German. Retrieve the file from the returned URL with GET. This is an order-style export for one delivery, not the Shop report.

Status codes

  • 200 on success, including empty results.
  • 400 for invalid parameters, such as limit=0 or a processed Item request without both dates.
  • 404 if a requested delivery ID does not exist.

Example

GET /shop/deliveries?stage=PROCESSED&status=COMPLETED&limit=25
{
  "list": [
    {
      "id": 1693919950079,
      "scheduled": null,
      "status": "COMPLETED",
      "total": { "product_count": 1 },
      "order": false
    }
  ],
  "cursor": null
}