Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.
Access Scopes
Fields
appliesOnOneTimePurchase:
Boolean -
Whether the discount applies on regular one-time-purchase items.
appliesOnSubscription:
Boolean -
Whether the discount applies on subscription items.
[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)
enable customers to purchase products
on a recurring basis.
items:
DiscountItemsInput -
The IDs of the items that the customer gets. The items can be either collections or products.
value:
DiscountCustomerGetsValueInput -
The quantity of items discounted and the discount value.