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.
You can only call this method when authenticated as a Wix app or Wix user identity.
Modifier group details.
Modifier group.
Title: Create Modifier Group
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
}
}
}'
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.