Skip to main content
GET
/
v1
/
locations
/
{location_id}
/
opening_hours
Retrieve opening hours
curl --request GET \
  --url https://api.chataigne.ai/v1/locations/{location_id}/opening_hours \
  --header 'x-api-key: <api-key>'
{
  "object": "opening_hours",
  "location_id": "<string>",
  "delivery": {
    "monday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "tuesday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "wednesday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "thursday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "friday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "saturday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "sunday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ]
  },
  "pickup": {
    "monday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "tuesday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "wednesday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "thursday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "friday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "saturday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ],
    "sunday": [
      {
        "from": "09:00",
        "to": "22:00"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Location/organization API key.

Path Parameters

location_id
string
required

Response

The opening hours.

object
enum<string>
Available options:
opening_hours
location_id
string
delivery
object

Time ranges per weekday (local wall-clock).

pickup
object

Time ranges per weekday (local wall-clock).