GET
/
api
/
v1
/
locations
/
{locationId}
/
time-intervals
curl --request GET \
  --url https://api.craveup.com/v1/api/v1/locations/{locationId}/time-intervals \
  --header 'X-API-Key: <api-key>'
{
  "orderDays": [
    {
      "value": "<string>",
      "label": "<string>",
      "intervals": [
        "<string>"
      ]
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

locationId
string
required

The location's unique ID.

Response

200
application/json
Order time intervals retrieved successfully.
orderDays
object[]

An array of available order days with their intervals.