curl --request GET \
--url https://api.craveup.com/api/v1/locations/{locationId}/menus \
--header 'X-API-Key: <api-key>'{
"menus": [
{
"id": "menu_lunch",
"name": "Lunch",
"isActive": true,
"time": "11:00 AM - 3:00 PM",
"imageUrl": "https://cdn.craveup.com/menus/lunch.jpg",
"categories": [
{
"id": "cat_pizzas",
"name": "Pizzas",
"products": [
{
"id": "prod_margherita",
"name": "Margherita Pizza",
"description": "Tomato, basil, mozzarella.",
"price": "1800",
"displayPrice": "$18.00",
"currency": "usd",
"availability": "AVAILABLE",
"modifierIds": [
"mod_group_sauces"
],
"images": [
"https://cdn.craveup.com/products/margherita.png"
]
}
]
}
]
}
],
"popularProducts": [
{
"id": "prod_bbq_chicken",
"name": "BBQ Chicken Pizza",
"description": "Smoky BBQ sauce, chicken, red onions.",
"price": "2100",
"displayPrice": "$21.00",
"currency": "usd",
"availability": "AVAILABLE",
"modifierIds": [
"mod_group_extras"
],
"images": [
"https://cdn.craveup.com/products/bbq-chicken.png"
]
}
]
}Returns the active menus, categories, and products for the specified order date and time. Provide orderDate and orderTime to fetch the menu for a future scheduled order, or set menuOnly=true to fallback to the current menu.
curl --request GET \
--url https://api.craveup.com/api/v1/locations/{locationId}/menus \
--header 'X-API-Key: <api-key>'{
"menus": [
{
"id": "menu_lunch",
"name": "Lunch",
"isActive": true,
"time": "11:00 AM - 3:00 PM",
"imageUrl": "https://cdn.craveup.com/menus/lunch.jpg",
"categories": [
{
"id": "cat_pizzas",
"name": "Pizzas",
"products": [
{
"id": "prod_margherita",
"name": "Margherita Pizza",
"description": "Tomato, basil, mozzarella.",
"price": "1800",
"displayPrice": "$18.00",
"currency": "usd",
"availability": "AVAILABLE",
"modifierIds": [
"mod_group_sauces"
],
"images": [
"https://cdn.craveup.com/products/margherita.png"
]
}
]
}
]
}
],
"popularProducts": [
{
"id": "prod_bbq_chicken",
"name": "BBQ Chicken Pizza",
"description": "Smoky BBQ sauce, chicken, red onions.",
"price": "2100",
"displayPrice": "$21.00",
"currency": "usd",
"availability": "AVAILABLE",
"modifierIds": [
"mod_group_extras"
],
"images": [
"https://cdn.craveup.com/products/bbq-chicken.png"
]
}
]
}API Key required to authenticate requests
Menus retrieved successfully.
Show child attributes
"menu_lunch"
"Lunch"
true
"11:00 AM - 3:00 PM"
Show child attributes
"cat_pizzas"
"Pizzas"
Show child attributes
"prod_margherita"
"Margherita Pizza"
"18.00"
"$18.00"
"usd"
"AVAILABLE"
Show child attributes
"prod_margherita"
"Margherita Pizza"
"18.00"
"$18.00"
"usd"
"AVAILABLE"