Skip to main content
Get Sections API

Retrieve all sections associated with the specified restaurant_id.

Updated over a year ago

Overview

Retrieve all sections associated with the specified restaurant_id in Stellar Menus.

Request

Endpoint:

/v1/sections

Method:

GET

Headers:

Authorization: <Your-API-Key>

When forming your request, include a JSON payload with the specific restaurant_id you're interested in:

{
"restaurant_id": "your_restaurant_id"
}

Replace your_restaurant_id with the actual ID of the restaurant you're inquiring about.

Response

The API will return details for all sections associated with the given restaurant_id.

Example Request Body

{
"restaurant_id": "63250dafda6e4c02847e4296"
}

Expected Response

[
{
"section_id": "63d2bb71fd214d5883dbffbe",
"display_name": "Appetizers",
"header_text": "",
"footer_text": ""
"item_links":
[
"63d2bc1d4f7698c2b366a837",
"63d2bc454f7694c2b366a87d",
"63d2bc5f4f7659c2b366a8c4",
"645fafbb73003f9ee12a901c"
]
},
{
"section_id": "63d2bb71fc114d5883dbffbd",
"display_name": "Entrees",
"header_text": "Celebratory Sips: Our Signature Cocktails",
"footer_text": ""
"items_links":
[
"63d2bbd04f7698c2b366a797",
"63d2bbf74f4699c2b366a7f2",
"63d2bbd94f3699c2b366a7a3",
"63d2bbfa4f1598c2b366a8b2",
"63d2bbfb4e8697c2b366a9c1",
"63d2bbfc4d7798c2b366a0d3",
"63d2bbfd3f8699c2b366a1e4",
"63d2bbfe2f7698c2b366a2f5" ]
},
// ... other sections ...
]
Did this answer your question?