Anchor to DiscountCustomerGetsDiscount
objectDiscount Customer Gets
Requires Apps must have access scope.
The items in the order that qualify for the discount, their quantities, and the total value of the discount.
Anchor to FieldsFields
- Anchor to appliesOnOneTimePurchaseapplies•Boolean!
On One Time Purchase non-null Whether the discount applies on regular one-time-purchase items.
- Anchor to appliesOnSubscriptionapplies•Boolean!
On Subscription non-null Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis.
- Anchor to itemsitems•Discount
Items! non-null The items to which the discount applies.
- Anchor to valuevalue•Discount
Customer Gets Value! non-null Entitled quantity and the discount value.
Was this section helpful?