PATCH

Update Menu


Developer Preview

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

Updates a menu. You can't update archived menus.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Restaurant Catalogs
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/restaurants/v3/catalogs/{catalogId}/menus/{menu.id}

Path Params
catalogIdstringRequired

ID of the catalog the menu belongs to.


menu.idstringRequired

Menu ID.

Body Params
menuMenu

Menu to update.

Response Object
menuMenu

Updated Menu.

Update Menu
Request
cURL
curl -X PATCH \ 'https://www.wixapis.com/restaurants/v3/catalogs/4d088f16-d341-44b2-ac69-ae8f3e8897fd/menus/6750e1bd-4434-4603-9a43-d0821d14aac6' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ --data-raw '{ "menu": { "description": "Main Menu" }'
Response
JSON
{ "menu": { "id": "6750e1bd-4434-4603-9a43-d0821d14aac6", "name": "MAIN MENU", "description": "Restaurant Main Menu", "imageUrl": null, "visibilityCriteria": { "visible": true, "fulfillmentTypes": ["DELIVERY", "PICKUP_OR_DINE_IN"], "platforms": [ "WIX_APP", "CALL_CENTER", "CHAT_BOT", "MOBILE_SITE", "SITE" ], "availability": null }, "sectionIds": { "values": [ "dd53b918-76ed-11ec-90d6-0242ac120003", "e3993910-76ed-11ec-90d6-0242ac120003" ] }, "archived": false } }
Errors

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

Did this help?