Anchor to DiscountCustomerBuysDiscount
objectDiscount Customer Buys
Requires Apps must have access scope.
The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.
Anchor to FieldsFields
- Anchor to isOneTimePurchaseis•Boolean!non-null
One Time Purchase If the discount is applicable when a customer buys a one-time purchase.
- Anchor to isSubscriptionis•Boolean!non-null
Subscription If the discount is applicable when a customer buys a subscription purchase.
- Anchor to itemsitems•Discount
Items!non-null The items required for the discount to be applicable.
- Anchor to valuevalue•Discount
Customer Buys Value!non-null The prerequisite value.
Was this section helpful?