update_automatic_discount_bxgy
Modify an existing automatic BXGY discount by updating specific fields like title, schedule, usage limits, product or collection eligibility, and discount type. Only provided fields are changed.
Instructions
Update an existing automatic BXGY 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_bxgy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GID of the automatic discount node. | |
| title | No | ||
| startsAt | No | ||
| endsAt | No | ||
| usesPerOrderLimit | No | ||
| buyQuantity | No | ||
| buyAll | No | ||
| buyProductIds | No | ||
| buyCollectionIds | No | ||
| getQuantity | No | ||
| getAll | No | ||
| getProductIds | No | ||
| getCollectionIds | No | ||
| getDiscountType | No | ||
| getDiscountPercentage | No | ||
| combinesWith | No | Discount classes this discount can combine with. |