Skip to main content
Anchor to DiscountCombinesWith

DiscountCombinesWith

object

Requires Apps must have read_discounts access scope.

The discount classes that you can use in combination with Shopify discount types.

•Boolean!
non-null

Whether the discount combines with the order discount class.

•Boolean!
non-null

Whether the discount combines with the product discount class.

Anchor to productDiscountsWithTagsOnSameCartLineproductDiscountsWithTagsOnSameCartLine
•[String!]

Controls which product discounts can apply together on the same cart line. By default, only one product discount applies per line. Available only on a Shopify Plus plan and requires the productDiscounts field to be set to true.

For discounts to apply together, they must match tags in both directions. Each discount has two tag sets: the tags it's tagged with, and the tags it agrees to apply with (this field). Two discounts apply together only if each one allows at least one tag that the other is tagged with. Any number of product discounts can apply to the same line if this two-way match holds for every pair in the group.

Example: Discount A is tagged with "LOYALTY" and allows "SEASONAL," and Discount B is tagged with "SEASONAL" and allows "LOYALTY." They apply together. To add a third discount, it must meet the same mutual-match rule with both A and B.

•Boolean!
non-null

Whether the discount combines with the shipping discount class.


Was this section helpful?