Skip to main content
GET
/
api
/
v1
/
locations
/
{locationId}
/
menus
Get Location Menus
curl --request GET \
  --url https://api.cravejs.com/api/v1/locations/{locationId}/menus \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "64a7b8c9d1e2f3a4b5c6d7e8",
    "name": "All Day Menu",
    "isActive": true,
    "time": "11:00 AM-10:00 PM",
    "categories": [
      {
        "name": "Appetizers",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7e9",
          "64a7b8c9d1e2f3a4b5c6d7ea",
          "64a7b8c9d1e2f3a4b5c6d7eb",
          "64a7b8c9d1e2f3a4b5c6d7ec"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7ed"
      },
      {
        "name": "Pizza",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7ee",
          "64a7b8c9d1e2f3a4b5c6d7ef",
          "64a7b8c9d1e2f3a4b5c6d7f0",
          "64a7b8c9d1e2f3a4b5c6d7f1",
          "64a7b8c9d1e2f3a4b5c6d7f2",
          "64a7b8c9d1e2f3a4b5c6d7f3"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7f4"
      },
      {
        "name": "Salads",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7f5",
          "64a7b8c9d1e2f3a4b5c6d7f6",
          "64a7b8c9d1e2f3a4b5c6d7f7",
          "64a7b8c9d1e2f3a4b5c6d7f8"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7f9"
      },
      {
        "name": "Desserts",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7fa",
          "64a7b8c9d1e2f3a4b5c6d7fb",
          "64a7b8c9d1e2f3a4b5c6d7fc"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7fd"
      }
    ]
  },
  {
    "id": "64a7b8c9d1e2f3a4b5c6d7fe",
    "name": "Lunch Special",
    "isActive": true,
    "time": "11:00 AM-3:00 PM",
    "categories": [
      {
        "name": "Lunch Combos",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7ff",
          "64a7b8c9d1e2f3a4b5c6d800",
          "64a7b8c9d1e2f3a4b5c6d801",
          "64a7b8c9d1e2f3a4b5c6d802"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d803"
      }
    ]
  }
]

Path Parameters

locationId
string
required
The unique identifier for the restaurant location

Query Parameters

orderDate
string
required
The date for which to retrieve menus (YYYY-MM-DD format)
Example: 2025-07-18
orderTime
string
required
The time for which to retrieve menus (HH:mm format, URL encoded)
Example: 14:30 (encoded as 14%3A30 in URL)

Headers

X-API-Key
string
required
Storefront API key for authentication
[
  {
    "id": "64a7b8c9d1e2f3a4b5c6d7e8",
    "name": "All Day Menu",
    "isActive": true,
    "time": "11:00 AM-10:00 PM",
    "categories": [
      {
        "name": "Appetizers",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7e9",
          "64a7b8c9d1e2f3a4b5c6d7ea",
          "64a7b8c9d1e2f3a4b5c6d7eb",
          "64a7b8c9d1e2f3a4b5c6d7ec"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7ed"
      },
      {
        "name": "Pizza",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7ee",
          "64a7b8c9d1e2f3a4b5c6d7ef",
          "64a7b8c9d1e2f3a4b5c6d7f0",
          "64a7b8c9d1e2f3a4b5c6d7f1",
          "64a7b8c9d1e2f3a4b5c6d7f2",
          "64a7b8c9d1e2f3a4b5c6d7f3"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7f4"
      },
      {
        "name": "Salads",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7f5",
          "64a7b8c9d1e2f3a4b5c6d7f6",
          "64a7b8c9d1e2f3a4b5c6d7f7",
          "64a7b8c9d1e2f3a4b5c6d7f8"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7f9"
      },
      {
        "name": "Desserts",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7fa",
          "64a7b8c9d1e2f3a4b5c6d7fb",
          "64a7b8c9d1e2f3a4b5c6d7fc"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d7fd"
      }
    ]
  },
  {
    "id": "64a7b8c9d1e2f3a4b5c6d7fe",
    "name": "Lunch Special",
    "isActive": true,
    "time": "11:00 AM-3:00 PM",
    "categories": [
      {
        "name": "Lunch Combos",
        "productIds": [
          "64a7b8c9d1e2f3a4b5c6d7ff",
          "64a7b8c9d1e2f3a4b5c6d800",
          "64a7b8c9d1e2f3a4b5c6d801",
          "64a7b8c9d1e2f3a4b5c6d802"
        ],
        "id": "64a7b8c9d1e2f3a4b5c6d803"
      }
    ]
  }
]
The response returns an array of menu objects. Each menu includes:
  • id: Unique identifier for the menu
  • name: Display name of the menu
  • isActive: Whether the menu is currently active
  • time: Operating hours for the menu (e.g., “12:00 AM-11:59 PM”)
  • categories: Array of category objects, each containing a name, id, and an array of productIds
The menu availability is filtered based on the provided orderDate and orderTime query parameters.

Authorizations

X-API-Key
string
header
required

Path Parameters

locationId
string
required

The unique ID of the location.

Query Parameters

orderDate
string
required

The date for which to retrieve menus (YYYY-MM-DD format).

orderTime
string
required

The time for which to retrieve menus (HH:mm format).

Response

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.