Create or update modifier
loyverse_upsert_modifierCreate a new modifier group with options or update an existing group by providing its id, enabling accurate customization for product variants.
Instructions
Create a modifier group with its options, or update one by passing its id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "loyverse_upsert_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Omit to create. | |
| name | Yes | ||
| stores | No | Store ids this modifier applies to. | |
| position | No | ||
| modifier_options | No |