DiscountCustomerGetsInput
Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.
Anchor to FieldsFields
- Anchor to appliesOnOneTimePurchaseapplies•
On One Time Purchase Whether the discount applies on regular one-time-purchase items.
- Anchor to appliesOnSubscriptionapplies•
On Subscription Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis.
- Anchor to itemsitems•
The IDs of the items that the customer gets. The items can be either collections or products.
- Anchor to valuevalue•
The quantity of items discounted and the discount value.
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
Information about the qualifying items and their discount.
- •INPUT OBJECT
The items in the order that qualify for the discount, their quantities, and the total value of the discount.
- •INPUT OBJECT
The items in the order that qualify for the discount, their quantities, and the total value of the discount.
- •INPUT OBJECT
The items in the order that qualify for the discount, their quantities, and the total value of the discount.