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 list of up to 500 sections.
Section IDs.
Number of items to load.
Pointer to the next or previous page in the list of results.
You can get the relevant cursor token
from the pagingMetadata
object in the previous call's response.
Not relevant for the first request.
Retrieved sections.
The metadata of the paginated results.
curl -X GET 'https://www.wixapis.com/restaurants/menus-section/v1/sections' \
-H 'Authorization: <AUTH>' \
{
"sections": [
{
"id": "70f12b79-cd30-4750-91ab-1021a16cbbfa",
"revision": "2",
"createdDate": "2024-01-14T10:06:30.782Z",
"updatedDate": "2024-01-14T10:47:58.973Z",
"name": "Drinks",
"description": "",
"additionalImages": [],
"itemIds": [
"f6222bdc-1ab2-4cd4-bf6c-8d4fca055d86",
"e02e2782-3992-4ca5-995d-a1457510d294",
"639c0795-581c-4dac-a3ab-0bdf4036753c",
"c47a77e5-1df6-4c95-a04f-7cd8bb42da33",
"cd75f42f-ecd3-491c-b355-b9afbaa6b474"
]
},
{
"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",
"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"
]
},
{
"id": "a1e247ea-0c57-498e-a9be-4044ed48bda8",
"revision": "2",
"createdDate": "2024-01-14T10:06:30.782Z",
"updatedDate": "2024-01-14T10:47:02.684Z",
"name": "Appetizers",
"description": "These dishes are great for sharing",
"additionalImages": [],
"itemIds": [
"8c19a4e4-3833-4a93-95d3-81b2a4dfd3df",
"47595e4a-49aa-4d3d-a4fe-54c50f5eaf43"
]
},
{
"id": "be9330c1-c3c0-4f76-96cc-b69eac8d88da",
"revision": "2",
"createdDate": "2024-01-14T10:06:30.782Z",
"updatedDate": "2024-01-14T10:47:58.932Z",
"name": "Desserts",
"description": "Our desserts are made in house by our pastry chef",
"additionalImages": [],
"itemIds": [
"1c1ca051-b460-4064-b7a2-5f9df47f2d3c",
"6593bef5-04e6-4841-a8a0-a9fbe8c5ebf2",
"7f2745a2-8b0b-4822-bff1-7dd7a823a677",
"d60bb131-b9b9-44f9-ad20-f19c3833f9e9",
"34aafd58-af34-4947-b5b6-f33820c17b4b"
]
}
],
"pagingMetadata": {
"count": 4,
"cursors": {},
"hasNext": false
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.