← All vendor deprecations
ShopifyBreaking changehigh

automaticDiscounts query removed in Admin API 2027-01

Takes effect
Not announced
Published
4 Oct 2026

The deprecated automaticDiscounts query is removed from the GraphQL Admin API in version 2027-01 . If your app reads a shop’s automatic discounts through automaticDiscounts , you need to move to the discountNodes query with a method:automatic filter before you upgrade to 2027-01 . Apps on 2026-10 and earlier keep working unchanged while those versions are supported. What changed As of API version 2027-01 , automaticDiscounts no longer exists on QueryRoot . Requests that include automaticDiscounts on 2027-01 return a validation error instead of data. The DiscountAutomaticConnection and DiscountAutomaticEdge types are also removed, because no other fields in the schema return them. Use discountNodes instead, with query: "method:automatic" . It returns a connection of DiscountNode objects, each exposing the discount itself on the discount field. discountNodes accepts filters similar to the removed query, including status , discount_type , discount_class , created_at , and starts_at . F

Read the vendor's announcement

Get this on your timeline

Add your stack to StackClock and we will remind you before it takes effect, along with your domain, certificate and license expiries.

Start free
Shopify: automaticDiscounts query removed in Admin API 2027-01 · StackClock