cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/pms/locations \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "371ca583-d218-4900-b236-397532cf0e52", "name": "Restaurant de la Paix", "timezone": "Europe/Paris", "address": { "address_type": "home", "name": "Home", "street": "Main Street", "number": "123", "box": "A", "city": "Paris", "postal_code": "75000", "country": "FR" } } ], "total": 1, "page": 2, "size": 2 }
Returns a list of the locations
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
Successful Response
The response is of type object.
object