POST

Bulk Update Modifier Groups


Developer Preview

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

Note: The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from Wix App Market.

Updates multiple item modifier groups at once. This function supports partial updates. Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating an item modifier group. This ensures you're working with the latest item information, and prevents unintended overwrites. Up to 100 modifier groups can be returned per request.

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
POST
https://www.wixapis.com/restaurants/item-modifier-group/v1/bulk/modifiers-groups/update

Body Params
modifierGroupsArray <MaskedModifierGroup>RequiredminItems 1maxItems 100

Modifier groups to update.


returnEntityboolean

Whether to receive the updated modifier groups in the response.

Response Object
resultsArray <BulkUpdateModifierGroupsResult>minItems 1maxItems 100

Information about the updated modifier groups.


bulkActionMetadataBulkActionMetadata

Metadata for the API call.

Bulk Update Modifier Groups Example 1
Request
cURL
Title: Bulk update modifier groups
Response
JSON
curl -X POST https://www.wixapis.com/restaurants/item-modifier-group/v1/bulk/modifiers-groups/update \ -H 'Authorization: <AUTH> \ --data-binary '{ "modifierGroups": [ { "modifierGroup": { "modifiers": [], "id": "0e29cc7a-123c-4a7f-b9b3-b456cad20246", "revision": "9", "name": "sugar options" }, "mask": { "paths": [ "name" ] } }, { "modifierGroup": { "modifiers": [], "id": "25878df0-f387-488f-8696-a023e3db0a2d", "name": "Toppings", "revision": "5" }, "mask": { "paths": [ "name" ] } } ], "returnEntity": true }'
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?