GET
/
api
/
v1
/
locations
/
{locationId}
/
menus
curl --request GET \
  --url https://api.craveup.com/v1/api/v1/locations/{locationId}/menus \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "isActive": true,
    "categories": [
      {
        "label": "<string>",
        "id": "<string>"
      }
    ]
  }
]

Authorizations

X-API-Key
string
header
required

Path Parameters

locationId
string
required

The unique ID of the location.

Query Parameters

orderTimeString
string
required

The desired order time string (format: ISO 8601).

Response

200
application/json
Menus retrieved successfully.
id
string

The unique ID of the menu.

name
string

The name of the menu.

isActive
boolean

Indicate whether the current menu is active or not.

categories
object[]

An array of menu categories.