DiscountCustomerGetsInput - admin-graphql - INPUT_OBJECT
Version: 2024-10
Description:
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.
-
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.
Input objects with this input object
Examples