This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Note: The Menu API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from Wix App Market.
Creates multiple menus at once.
You can only call this method when authenticated as a Wix app or Wix user identity.
Menu details.
Whether to receive the created menus in the response.
Information about the created menus.
Metadata for the API call.
curl -X POST 'https://www.wixapis.com/restaurants/menus-menu/v1/bulk/menus/create' \
-H 'Authorization: <AUTH>' \
--data-binary '{
"menus": [
{
"sectionIds": [
"a1e247ea-0c57-498e-a9be-4044ed48bda8",
"be9330c1-c3c0-4f76-96cc-b69eac8d88da"
],
"name": "Dinner Menu"
},
{
"sectionIds": [
"a1e247ea-0c57-498e-a9be-4044ed48bda8"
],
"name": "Breakfast Menu"
}
],
"returnEntity": true
}'
{
"results": [
{
"menuMetadata": {
"id": "bbb65621-6338-4837-8fdd-aebc654e2361",
"originalIndex": 0,
"success": true
},
"menu": {
"id": "bbb65621-6338-4837-8fdd-aebc654e2361",
"revision": "1",
"createdDate": "2024-01-14T16:22:43.759Z",
"updatedDate": "2024-01-14T16:22:43.759Z",
"name": "Dinner Menu",
"sectionIds": [
"a1e247ea-0c57-498e-a9be-4044ed48bda8",
"be9330c1-c3c0-4f76-96cc-b69eac8d88da"
]
}
},
{
"menuMetadata": {
"id": "e11f38cf-0f11-4484-ba44-5b1746aaea50",
"originalIndex": 1,
"success": true
},
"menu": {
"id": "e11f38cf-0f11-4484-ba44-5b1746aaea50",
"revision": "1",
"createdDate": "2024-01-14T16:22:43.759Z",
"updatedDate": "2024-01-14T16:22:43.759Z",
"name": "Breakfast Menu",
"sectionIds": ["a1e247ea-0c57-498e-a9be-4044ed48bda8"]
}
}
],
"bulkActionMetadata": {
"totalSuccesses": 2,
"totalFailures": 0,
"undetailedFailures": 0
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.