PATCH

Update Menu Ordering Settings


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 ordering settings entity.

Each time the menu ordering settings entity is updated, revision increments by 1. The current revision must be specified when updating the menu ordering settings entity. This ensures you're working with the latest entity and prevents unintended overwrites.

Authentication

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

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/menu-ordering-settings/v1/menu-ordering-settings/{menuOrderingSettings.id}

Path Params
menuOrderingSettings.idstringRequired

Menu ordering settings object ID.

Body Params
menuOrderingSettingsMenuOrderingSettingsRequired

Details of the menu ordering settings entity to update.

Response Object
menuOrderingSettingsMenuOrderingSettings

Updated menu ordering settings entity.

Update a menu ordering settings entity
Request
cURL
curl -X PATCH https://www.wixapis.com/menu-ordering-settings/v1/menu-ordering-settings/48605ac5-53fc-49b4-96b2-87f7636f5ce0 \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' \ --data-raw '{ "menuOrderingSettings": { { "id": "f83c385c-1485-4daa-9bba-bc332e12c8ce", "revision": "3", "operationId": "48605ac5-53fc-49b4-96b2-87f7636f5ce0", "menuId": "bbb65621-6338-4837-8fdd-aebc654523e0", "onlineOrderingEnabled": true, "availability": { "type": "ALWAYS_AVAILABLE", "timeZone": "Asia/Jerusalem" }, } } }'
Response
JSON
{ "id": "f83c385c-1485-4daa-9bba-bc332e12c8ce", "revision": "3", "createdDate": "2024-07-08T13:44:00.443Z", "updatedDate": "2024-07-08T13:50:08.572Z", "operationId": "48605ac5-53fc-49b4-96b2-87f7636f5ce0", "menuId": "bbb65621-6338-4837-8fdd-aebc654523e0", "onlineOrderingEnabled": true, "availability": { "type": "ALWAYS_AVAILABLE", "timeZone": "Asia/Jerusalem" } }
Errors

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

Event TriggersThis method triggers the following events:
Did this help?