Anchor to DiscountCustomerBuysInputDiscount
input_objectDiscount Customer Buys Input
The input fields for prerequisite items and quantity for the discount.
Anchor to FieldsFields
- Anchor to isOneTimePurchaseis•Boolean
One Time Purchase Default:true If the discount is applicable when a customer buys a one-time purchase.
- Anchor to isSubscriptionis•Boolean
Subscription Default:false If the discount is applicable when a customer buys a subscription purchase.
- Anchor to itemsitems•Discount
Items Input The IDs of items that the customer buys. The items can be either collections or products.
- Anchor to valuevalue•Discount
Customer Buys Value Input 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?