Edit a choice
hub_update_modifier_choiceChange one choice — its name, price, whether it is pre-selected, or where it is sold. Everything you leave out stays as it is. unavailableOutletIds is the exception list and REPLACES the stored one: pass [] to make the choice available everywhere again. Marking a choice unsold somewhere can be refused if a category requires more choices than would remain available at every outlet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| price | No | New extra charge, e.g. "0.90". Pass "0" to make it free | |
| choiceId | Yes | Choice id from get_modifier | |
| isDefault | No | ||
| sortOrder | No | ||
| modifierId | Yes | Modifier id from get_modifiers | |
| defaultQuantity | No | ||
| unavailableOutletIds | No | REPLACES the exception list. [] = sold at every outlet |