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 DiscountCustomerBuysInput

DiscountCustomerBuysInput

input_object

The input fields for prerequisite items and quantity for the discount.

•
BooleanDefault:true

If the discount is applicable when a customer buys a one-time purchase.

•
BooleanDefault:false

If the discount is applicable when a customer buys a subscription purchase.

•

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

•

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?