Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

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
•

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

Anchor to appliesOnSubscriptionappliesOnSubscription
•

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

•

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

•

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?