update_automatic_discount_free_shipping
Modify an existing automatic free shipping discount by updating only specified fields. Adjust title, start/end dates, country eligibility, minimum subtotal or quantity, maximum shipping price, and combine settings.
Instructions
Update an existing automatic free shipping discount. Only provided fields are changed.
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": {
"id": "<id>"
},
"name": "update_automatic_discount_free_shipping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GID of the automatic discount node. | |
| title | No | ||
| startsAt | No | ||
| endsAt | No | ||
| destinationAll | No | ||
| countryCodes | No | ||
| includeRestOfWorld | No | ||
| minimumSubtotal | No | ||
| minimumQuantity | No | ||
| maximumShippingPrice | No | ||
| combinesWith | No | Discount classes this discount can combine with. |