What you’ll need

  • Shopify’s free GraphiQL app (with read_discounts access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

1Get your discount list

This query only reads. It can’t change, deactivate or delete anything.

  1. Install Shopify’s free GraphiQL app and tick the read_discounts scope.
  2. Paste the query below into the left side and press Run.
  3. Copy the whole result on the right and paste it in step 2.
Audit query (read-only)
query DiscountAudit($after: String) {
  discountNodes(first: 100, after: $after) {
    pageInfo {
      hasNextPage
      endCursor
    }
    nodes {
      id
      discount {
        __typename
        ... on DiscountAutomaticBasic {
          ...Base
          customerGets { ...Gets }
          minimumRequirement { ...Minimum }
        }
        ... on DiscountAutomaticBxgy {
          ...Base
          customerGets { ...Gets }
          usesPerOrderLimit
        }
        ... on DiscountAutomaticFreeShipping {
          ...Base
          minimumRequirement { ...Minimum }
        }
        ... on DiscountAutomaticApp {
          ...Base
          appDiscountType { title appKey }
        }
        ... on DiscountCodeBasic {
          ...Base
          ...Codes
          customerGets { ...Gets }
          minimumRequirement { ...Minimum }
        }
        ... on DiscountCodeBxgy {
          ...Base
          ...Codes
          customerGets { ...Gets }
          usesPerOrderLimit
        }
        ... on DiscountCodeFreeShipping {
          ...Base
          ...Codes
          minimumRequirement { ...Minimum }
        }
        ... on DiscountCodeApp {
          ...Base
          ...Codes
          appDiscountType { title appKey }
        }
      }
    }
  }
}

fragment Base on Discount {
  ... on DiscountAutomaticBasic { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountAutomaticBxgy { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountAutomaticFreeShipping { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountAutomaticApp { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountCodeBasic { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountCodeBxgy { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountCodeFreeShipping { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
  ... on DiscountCodeApp { title status startsAt endsAt createdAt asyncUsageCount discountClasses combinesWith { ...Combines } context { __typename } }
}

fragment Codes on Discount {
  ... on DiscountCodeBasic { usageLimit appliesOncePerCustomer codesCount { count } codes(first: 1) { nodes { code } } }
  ... on DiscountCodeBxgy { usageLimit appliesOncePerCustomer codesCount { count } codes(first: 1) { nodes { code } } }
  ... on DiscountCodeFreeShipping { usageLimit appliesOncePerCustomer codesCount { count } codes(first: 1) { nodes { code } } }
  ... on DiscountCodeApp { usageLimit appliesOncePerCustomer codesCount { count } codes(first: 1) { nodes { code } } }
}

fragment Combines on DiscountCombinesWith {
  productDiscounts
  orderDiscounts
  shippingDiscounts
}

fragment Gets on DiscountCustomerGets {
  items { __typename }
  value {
    __typename
    ... on DiscountPercentage { percentage }
    ... on DiscountAmount { amount { amount currencyCode } appliesOnEachItem }
    ... on DiscountOnQuantity {
      quantity { quantity }
      effect {
        __typename
        ... on DiscountPercentage { percentage }
        ... on DiscountAmount { amount { amount currencyCode } }
      }
    }
  }
}

fragment Minimum on DiscountMinimumRequirement {
  __typename
  ... on DiscountMinimumQuantity { greaterThanOrEqualToQuantity }
  ... on DiscountMinimumSubtotal { greaterThanOrEqualToSubtotal { amount currencyCode } }
}

Lists 100 discounts per run. If you have more, step 2 tells you exactly what to run next.

2Paste the result

Paste several pages one after another if you have more than 100 discounts.

Try:

    Guides

    Questions

    Does this change anything in my store?

    No. The audit is a read-only query: it lists your discounts and changes nothing. This tool never deletes or edits a discount. Anything it flags, you fix yourself in your admin.

    Do app discounts count toward the 25 limit?

    Yes. Shopify allows at most 25 automatic discounts at once, and that includes discounts made by apps and scheduled ones that haven’t started yet. Codes don’t count toward it.

    How does Shopify decide what stacks?

    Every discount is a product, order or shipping discount, and each says which of those it can combine with. Two discounts apply together only when each one allows the other’s class. Two shipping discounts never combine.

    Is my discount data uploaded?

    No. You run the query in Shopify’s own GraphiQL app or Shopify CLI and paste the result here. It’s read in your browser and never sent anywhere.

    Based on Shopify’s discountNodes reference (API 2026-10) and Combining discounts.