DiscountCustomerGets object
The qualifying items in an order, the quantity of each one, and the total value of the discount.
Required access
Apps must have read_discounts access scope.
On this page
Fields
- appliesOnOneTimePurchase (
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
Whether the discount applies on regular one-time-purchase items. - appliesOnSubscription (
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
Whether the discount applies on subscription items. - items (
[DiscountItems!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountitems))
The items to which the discount applies. - value (
[DiscountCustomerGetsValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomergetsvalue))
Entitled quantity and the discount value.
Types that return DiscountCustomerGets
[DiscountAutomaticBasic.customerGets](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticbasic#customergets-2021-01)[DiscountAutomaticBxgy.customerGets](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticbxgy#customergets-2021-01)[DiscountCodeBasic.customerGets](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodebasic#customergets-2021-01)[DiscountCodeBxgy.customerGets](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodebxgy#customergets-2021-01)
