Offsys documentatie
Producten
Producten
Haal productinformatie op of voeg een nieuw product toe.
List
Voorbeeld:
curl "https://api.offsys.nl/products" \-X GET \-H "Authorization: 37d37675-59cd-431c-8d28-9553de7bae4d"Resultaat:
{ "status": "success", "products": [ { "id": 1, "name": "", "description": "", "price_excl": "", "vat": "", "deposit": "0.00", "options": [], "image": null }, { "id": 2, "name": "", "description": "", "price_excl": "", "vat": "", "deposit": "0.00", "options": [], "image": null } ]}Show
Voorbeeld:
curl "https://api.offsys.nl/product/1000" \-X GET \-H "Authorization: 37d37675-59cd-431c-8d28-9553de7bae4d"Resultaat:
{ "status": "success", "product": { "name": "", "description": "", "price_excl": "", "vat": "", "deposit": "", "options": [], "image": null, "stock": 5, "reserved_by_date": { "2025-01-01": [ { "amount": 1, "from": null, "till": null, } ] } }}