cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/commerce/product-categories \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "source_ref": { "id": "<string>", "model": "<string>" }, "name": "<string>", "parent_id": "<string>" } ], "total": 1, "page": 2, "size": 2 }
Returns the list of the product categories
This access token needs to be included in each of your request to the Chift API.
Page number
x >= 1
Page size
1 <= x <= 100
true
false
Successful Response
The response is of type object.
object