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.
Updates a menu.
To update multiple menus at once, use Bulk Update Menu.
Each time a menu is updated, revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.
You can only call this method when authenticated as a Wix app or Wix user identity.
Menu ID.
Menu to update.
Updated menu.
curl -X PATCH "https://www.wixapis.com/restaurants/menus-menu/v1/menus/e11f38cf-0f11-4484-ba44-5b1746aacad0" \
-H 'Authorization: <AUTH>' \
--data-binary '{
"menu": {
"sectionIds": [
"a1e247ea-0c57-498e-a9be-4044ed48bda8"
],
"id": "e11f38cf-0f11-4484-ba44-5b1746aacad0",
"name": "Brunch",
"revision": "2"
},
"mask": {
"paths": [
"name",
"sectionIds"
]
}
}'
{
"menu": {
"id": "e11f38cf-0f11-4484-ba44-5b1746aacad0",
"revision": "3",
"createdDate": "2024-01-14T15:26:45.192Z",
"updatedDate": "2024-01-14T15:59:48.777Z",
"name": "Brunch",
"sectionIds": ["a1e247ea-0c57-498e-a9be-4044ed48bda8"],
"urlQueryParam": "brunch-menu"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.