Anchor to DiscountCustomerBuysInputDiscount
DiscountCustomerBuysInput
input_object
The input fields for prerequisite items and quantity for the discount.
Anchor to FieldsFields
- Anchor to isOneTimePurchaseis•
One Time Purchase BooleanDefault:true If the discount is applicable when a customer buys a one-time purchase.
- Anchor to isSubscriptionis•
Subscription BooleanDefault:false If the discount is applicable when a customer buys a subscription purchase.
- Anchor to itemsitems•
The IDs of items that the customer buys. The items can be either collections or products.
- Anchor to valuevalue•
The quantity of prerequisite items.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The items eligible for the discount and the required quantity of each to receive the discount.
- •INPUT OBJECT
The items eligible for the discount and the required quantity of each to receive the discount.
Was this section helpful?