update_automatic_discount_basic
Update an existing basic automatic discount by modifying only specified fields such as title, value, dates, or eligibility conditions.
Instructions
Update an existing basic automatic 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 | ||
| discountType | No | ||
| discountValue | No | ||
| appliesOnEachItem | No | ||
| appliesToAll | No | ||
| productIds | No | ||
| collectionIds | No | ||
| variantIds | No | ||
| minimumSubtotal | No | ||
| minimumQuantity | No | ||
| combinesWith | No | Discount classes this discount can combine with. |