GET
/
consumers
/
{consumer_id}
/
pos
/
product-categories
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/pos/product-categories \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "371ca583-d218-4900-b236-397532cf0e52",
      "name": "Pizza",
      "description": "Delicious pizza",
      "id_parent": "371ca583-d218-4900-b236-397532cf0e55"
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
size
integer
default:50

Page size

Required range: 1 <= x <= 100
location_id
string | null
only_parents
enum<string>
Available options:
true,
false

Response

200
application/json

Successful Response

The response is of type object.