Help merchants to offer flexible discounts and manage their marketing activity.
In this section
AllDiscountItems — Whether all items in the cart are entitled to the discount.
AutomaticDiscountSortKeys — The set of valid sort keys for the AutomaticDiscount query.
CodeDiscountSortKeys — The set of valid sort keys for the CodeDiscount query.
CustomerJourney — Represents a customer’s activity on a shop’s online store.
CustomerJourneySummary — Represents a customer’s activity on a shop’s online store.
CustomerMoment — An auto-generated type for paginating through multiple CustomerMoments.
CustomerVisit — Information about a customer’s session on a shop’s online store.
DiscountAmount — The fixed amount value of a discount.
DiscountAmountInput — Specifies the value of the discount and how it is applied.
DiscountAutomatic — An auto-generated type for paginating through multiple DiscountAutomatics.
DiscountAutomaticBasic — An automatic basic discount.
DiscountAutomaticBasicInput — Specifies input field to create or update automatic basic discount.
DiscountAutomaticBxgy — An automatic BXGY discount.
DiscountAutomaticBxgyInput — Specifies input field to create or update automatic bogo discount.
DiscountAutomaticNode — An automatic discount wrapper node.
DiscountCode — A code discount.
DiscountCodeBasic — A basic code discount.
DiscountCodeBasicInput — Specifies input field to create or update code basic discount.
DiscountCodeBxgy — A BXGY code discount.
DiscountCodeBxgyInput — Specifies input field to create or update a BXGY code discount.
DiscountCodeFreeShipping — A free shipping code discount.
DiscountCodeFreeShippingInput — Specifies input field to create or update free shipping code discount.
DiscountCodeNode — A code discount wrapper node.
DiscountCodeSortKeys — The set of valid sort keys for the DiscountCode query.
DiscountCollections — A list of collections that the discount can have as a prerequisite or entitlement.
DiscountCollectionsInput — Specifies the collections attached to a discount.
DiscountCountries — The shipping destination where the discount applies.
DiscountCountriesInput — Specifies a list of countries to add or remove from the free shipping discount.
DiscountCountryAll — Whether the discount applies to all countries.
DiscountCustomerAll — Whether the discount applies to all customers.
DiscountCustomerBuys — The prerequisite items and prerequisite value.
DiscountCustomerBuysInput — Specifies the prerequisite items and prerequisite quantity.
DiscountCustomerBuysValue — The prerequisite quantity required for the discount to be applicable.
DiscountCustomerBuysValueInput — Specifies the prerequisite quantity for the discount.
DiscountCustomerGets — The qualifying items in an order, the quantity of each one, and the total value of the discount.
DiscountCustomerGetsInput — Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.
DiscountCustomerGetsValue — The value of the discount and how it will be applied.
DiscountCustomerGetsValueInput — Specifies the quantity of items discounted and the discount value.
DiscountCustomerSavedSearches — A list of customer saved searches that contain the customers to whom the discount applies.
DiscountCustomerSavedSearchesInput — Specifies which customer saved searches to add to or remove from the discount.
DiscountCustomerSelection — The selection of customers who can use this discount.
DiscountCustomerSelectionInput — Specifies the customers who can use this discount.
DiscountCustomers — A list of customers to whom the discount applies.
DiscountCustomersInput — Specifies which customers to add to or remove from the discount.
DiscountEffect — The type of discount that will be applied. Currently, only percentage off is supported.
DiscountEffectInput — Specifies how the discount will be applied. Currently, only percentage off is supported.
DiscountItems — Entitled or prerequisite items on a discount. An item could be either collection or product or product_variant.
DiscountItemsInput — Specifies the items attached to a discount.
DiscountMinimumQuantity — The minimum quantity of items required for the discount to apply.
DiscountMinimumQuantityInput — Specifies the quantity minimum requirements for a discount.