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": "",
"options": [],
},
{
"id": 2,
"name": "",
"description": "",
"price_excl": "",
"vat": "",
"options": [],
}
]
}

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": [],
}
}

Onderwerpen