wafle_pricing_rules_update
Update an existing pricing rule by its ID using a store slug. Modify fields like label, value, or active status.
Instructions
Patch an existing pricing rule by 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": {
"slug": "<slug>",
"rule_id": "<rule_id>"
},
"name": "wafle_pricing_rules_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| label | No | ||
| value | No | ||
| active | No | ||
| rule_id | Yes |