POST

Create Modifier Group


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.

Creates a modifier group.

To create multiple modifier groups at once, use Bulk Create Modifiers.

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/modifier-groups

Body Params
modifierGroupModifierGroupRequired

Modifier group details.

Response Object
modifierGroupModifierGroup

Modifier group.

Create Modifier Group Example 1
Request
cURL
Title: Create Modifier Group
Response
JSON
curl -X POST https://www.wixapis.com/restaurants/item-modifier-group/v1/modifier-groups \ -H 'Authorization: <AUTH>' \ --data-binary '{ "modifierGroup": { "name": "Topping", "modifiers": [ { "id": "481135f7-1392-4a2e-ac6b-12fb0ef398b7", "additionalChargeInfo": {"additionalCharge": "2.50"} }, { "id": "68eddbbf-da8b-4b24-ac74-a5f6b38b6de6", "additionalChargeInfo": {"additionalCharge": "0.00"} } ], "rule": { "mandatory": false, "minSelections": 0, "maxSelections": null } } }'
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?