Overview
This API retrieves a complete restaurant menu, structured as Menu → Section(s) → Item(s). Given the extensive processing required by this API, access is restricted. If you require access, please contact Stellar Menus support.
Request
URL: | GET /v1/complete-menu |
Method: | GET |
Headers: | Authorization: <Your-API-Key> Special_Access <Your-Special_Access-Key> |
Provide a JSON payload specifying the menu_id
you're inquiring about:
{
"menu_id": "your_menu_id"
}
Replace your_menu_id
with the actual ID of the menu you're inquiring about.
Response
The response will be a detailed structure of the menu, including the sections and individual items.
Example Request Body
{
"menu_id": "63d2bc454f7694c2b366a87d"
}
Expected Response
{
"menu": {
"name": "Breakfast Menu",
"header_text": "",
"footer_text": "Consuming raw or undercooked meats, poultry, ...",
"sections": [
{
"name": "Eggs & Omelets",
"header_text": "",
"footer_text": "",
"items": [
{
"name": "Classic American Breakfast",
"description": "2 eggs cracked to order, roasted ...",
"price": 17,
"dietary_info": ["Gluten Free"],
"allergies": ["Egg", "Dairy"]
},
{
"name": "Californian Folded Eggs",
"description": "avocado, roasted tomatoes, ...",
"price": 18,
"dietary_info": ["Gluten Free"],
"allergies": ["Egg", "Dairy"]
},
// ... other items
]
},
// ... other sections
]
}
}