Inventory
What a practice tracks as stock in Swyp, with quantities and storage location.
An inventory item is either a product from Swyp or one the practice added itself. For a product the practice added, productId is null and vendors is empty.
stock is what Swyp knows. It goes up when the practice confirms a delivery as received. Usage only counts once the practice changes the quantity.
To link a delivery line to an inventory item, match on productId.
GET
Every product the practice tracks in its inventory, most recently added first. The response is not paginated.
apiKeyheader
AuthorizationBearer <swyp_...>The practice's API key.
X-Practice-Id?stringRequired when the key covers several practices.
Format
uuidThe inventory.
application/json- response
[index: integer]?curl -X GET 'https://api.swyp.be/inventory'Example Response
[ { "id": "e4c2a9f1-3b6d-4e8a-9c1f-5a6b7c8d9e0f", "name": "Nitrile gloves, size M, 100 pcs", "stock": 3, "min": 5, "max": 20, "unit": "box", "productId": "5e6f7a8b-1c2d-4e3f-9a0b-1c2d3e4f5a6b", "sku": "NIT-M-100", "ean": "5412345678901", "category": "Gloves", "vendors": [ "HENRYSCHEIN", "BASIQ" ], "externalSupplier": null, "storageLocation": { "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", "name": "Drawer 2", "path": "/Treatment room 1/Drawer 2" }, "createdAt": "2026-09-14T07:30:00.000Z", "updatedAt": "2026-11-03T15:42:10.218Z" }, { "id": "f5d3b0a2-4c7e-4f9b-8d2a-6b7c8d9e0f1a", "name": "Lab coat", "stock": 12, "min": null, "max": null, "unit": null, "productId": null, "sku": null, "ean": null, "category": "Clothing", "vendors": [], "externalSupplier": "Local workwear shop", "storageLocation": null, "createdAt": "2026-10-02T10:05:41.903Z", "updatedAt": "2026-10-02T10:05:41.903Z" }]Was this page helpful?
Last updated on