Query parameters
-
page integer
page number
-
per_page integer
number of items per page
-
filter[point_of_sale_search] string
retrieve point of sale by label / id / external_id
GET /manager/points-of-sale
curl \
-X GET https://domain.tld/api/v2/manager/points-of-sale \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"current_page": 42,
"data": [
{
"id_point_of_sale": 42,
"date_insert": "string",
"date_update": "string",
"active": true,
"external_id": "string",
"pos_type": 42,
"phone": "string",
"email": "string",
"external_url": "string",
"members": [
{
"id_ambassador": 42,
"image": "string",
"firstname": "string",
"lastname": "string",
"username": "string",
"email": "string",
"email_tmp": "string",
"active": 42,
"status": 42,
"online": true,
"last_action_date": "2024-05-04T09:42:00+00:00",
"customer_id": "string",
"anonymized": true
}
],
"address_geocode": {
"date_insert": "2024-05-04T09:42:00+00:00",
"date_update": "2024-05-04T09:42:00+00:00",
"latitude": "48.856614",
"longitude": "2.3522219",
"city": "Paris",
"country": "France",
"postcode": "75001",
"street": "Rue de Rivoli",
"street2": "Place de la Concorde"
},
"labels": [
{
"id_i18n_content": 42,
"lang": "en_GB",
"content": "Hello"
}
],
"descriptions": [
{
"id_i18n_content": 42,
"lang": "en_GB",
"content": "Hello"
}
],
"hours": [
{
"id_i18n_content": 42,
"lang": "en_GB",
"content": "Hello"
}
]
}
],
"first_page_url": "string",
"from": 42,
"last_page": 42,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 42,
"prev_page_url": "string",
"to": 42,
"total": 42
}
Response examples (401)
{
"message": "Unauthorized."
}