Skip to main content
Anchor to DiscountCustomerGetsInput

DiscountCustomerGetsInput

input_object

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.

Anchor to appliesOnOneTimePurchaseappliesOnOneTimePurchase
•Boolean

Whether the discount applies on regular one-time-purchase items.

Anchor to appliesOnSubscriptionappliesOnSubscription
•Boolean

Whether the discount applies on subscription items. Subscriptions enable customers to purchase products on a recurring basis.

•DiscountItemsInput

The IDs of the items that the customer gets. The items can be either collections or products.

•DiscountCustomerGetsValueInput

The quantity of items discounted and the discount value.


Was this section helpful?

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.


Was this section helpful?
OSZAR »