update_option_status
Set a complement or option to AVAILABLE or UNAVAILABLE for a merchant, letting you control item availability in the iFood catalog.
Instructions
Set a complement/option AVAILABLE/UNAVAILABLE.
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>",
"status": "<status>"
},
"name": "update_option_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New availability status. | |
| option_id | Yes | Option ID. | |
| merchant_id | Yes | Merchant ID |