GET

Get Section


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Note: The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the Wix App Market.

Retrieves a section by ID.

Permissions
Manage Bookings Services and Settings
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/restaurants/menus-section/v1/sections/{sectionId}

Path Params
sectionIdstringRequired

Section ID.

Response Object
sectionSection

Section.

Get a section
Request
cURL
curl -X GET https://www.wixapis.com/restaurants/menus-section/v1/sections/9ea7135d-c232-437f-a9c3-33dd87265542 \ -H 'Authorization: <AUTH>' \
Response
JSON
{ "section": { "id": "9ea7135d-c232-437f-a9c3-33dd87265542", "revision": "2", "createdDate": "2024-01-14T10:06:30.782Z", "updatedDate": "2024-01-14T10:10:37.372Z", "name": "Mains", "description": "A diverse range of flavorful dishes which are all sourced daily and locally", "image": null, "additionalImages": [], "itemIds": [ "b3dfd67a-7c77-43e8-a707-38eb53850d4a", "ec225729-29ae-4a73-bdf6-f873bcabcd53", "b8e179cc-f339-4ccb-afa9-d9e04d56c461", "0517e5d4-8fd3-4b28-a743-68cf631e534a", "cbbf4358-292c-4e9e-a820-7e73b4c4ac00" ] } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?