Get a point of sale

GET /manager/points-of-sale/{id}

Path parameters

  • id integer(int32) Required

    The id of the point of sale

Responses

GET /manager/points-of-sale/{id}
curl \
 -X GET https://domain.tld/api/v2/manager/points-of-sale/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "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"
    }
  ]
}
Response examples (401)
{
  "message": "Unauthorized."
}