update_option_price
Updates a complement or option price in reais for an iFood merchant catalog, optionally setting an original strike-through price; use it to correct or adjust customization option pricing.
Instructions
Update a complement/option price (reais).
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": {
"merchant_id": "<merchant_id>",
"option_id": "<option_id>",
"value": "<value>"
},
"name": "update_option_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New price in reais. | |
| option_id | Yes | Option ID. | |
| merchant_id | Yes | Merchant ID | |
| original_value | No | Optional original/strike-through price. | |
| parent_customization_option_id | No | Required for pizza-flavour complements; omit for top-level options. |