Deliveries
What a practice has received, per order and supplier.
A delivery is one supplier's shipment for one order. The practice confirms in Swyp what arrived, so a delivery nobody confirmed stays PENDING, even if the goods are there. There is no expected delivery date.
Delivery lines have no prices. To value a line, find the order's cart with the same vendor and the item with the same productId, then multiply unitPrice by receivedQty. If productId is null, match on name.
Deliveries with status PENDING or PARTIAL, oldest first. Deliveries on cancelled orders are left out.
apiKeyAuthorizationBearer <swyp_...>The practice's API key.
X-Practice-Id?stringRequired when the key covers several practices.
uuidThe deliveries.
application/json- response
[index: integer]?curl -X GET 'https://api.swyp.be/deliveries/open'[ { "id": "b5e1c6d4-4f7b-4d9c-8e3a-1c2d3e4f5a6b", "orderId": "8d1f3a52-7c4e-4b19-a0d6-2e5f9b7c1a34", "vendor": "HENRYSCHEIN", "status": "PARTIAL", "orderedAt": "2026-10-28T09:14:22.511Z", "daysSinceOrder": 2, "receivedAt": null, "lineCount": 2, "receivedLineCount": 1, "outstandingUnits": 2, "lines": [ { "id": "06f2d7e5-5a8c-4e0d-9f4b-2d3e4f5a6b7c", "productId": "5e6f7a8b-1c2d-4e3f-9a0b-1c2d3e4f5a6b", "name": "Nitrile gloves, size M, 100 pcs", "sku": "NIT-M-100", "imageUrl": null, "orderedQty": 4, "receivedQty": 4, "inInventory": true }, { "id": "17a3e8f6-6b9d-4f1e-8a5c-3e4f5a6b7c8d", "productId": null, "name": "Saliva ejectors, 100 pcs", "sku": null, "imageUrl": null, "orderedQty": 2, "receivedQty": 0, "inInventory": false } ] }]Every delivery on one order, whatever its status. An order from another practice returns an empty list.
apiKeyAuthorizationBearer <swyp_...>The practice's API key.
id*stringAn order's id from GET /orders.
uuidX-Practice-Id?stringRequired when the key covers several practices.
uuidThe deliveries.
application/json- response
[index: integer]?curl -X GET 'https://api.swyp.be/deliveries/order/8d1f3a52-7c4e-4b19-a0d6-2e5f9b7c1a34'[ { "id": "b5e1c6d4-4f7b-4d9c-8e3a-1c2d3e4f5a6b", "orderId": "8d1f3a52-7c4e-4b19-a0d6-2e5f9b7c1a34", "vendor": "HENRYSCHEIN", "status": "PARTIAL", "orderedAt": "2026-10-28T09:14:22.511Z", "daysSinceOrder": 2, "receivedAt": null, "lineCount": 2, "receivedLineCount": 1, "outstandingUnits": 2, "lines": [ { "id": "06f2d7e5-5a8c-4e0d-9f4b-2d3e4f5a6b7c", "productId": "5e6f7a8b-1c2d-4e3f-9a0b-1c2d3e4f5a6b", "name": "Nitrile gloves, size M, 100 pcs", "sku": "NIT-M-100", "imageUrl": null, "orderedQty": 4, "receivedQty": 4, "inInventory": true }, { "id": "17a3e8f6-6b9d-4f1e-8a5c-3e4f5a6b7c8d", "productId": null, "name": "Saliva ejectors, 100 pcs", "sku": null, "imageUrl": null, "orderedQty": 2, "receivedQty": 0, "inInventory": false } ] }]Was this page helpful?
Last updated on