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.
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. |