Sudden Change in Partner Discount Types - Bug or API Change?

Topic summary

Multiple developers encountered an issue where partner discounts created via Shopify’s API suddenly changed from combined discount types (shipping, order, product) to product-only discounts.

The Problem:

  • Previously working combined discounts unexpectedly reverted to product discounts only
  • New discounts created with the discountCodeAppCreate mutation ignored specified discountClasses: [SHIPPING, ORDER] parameters
  • The mutation only created product discounts despite explicit configuration for shipping and order types
  • Recreating discounts did not resolve the issue

Resolution:
Shopify acknowledged and resolved the issue. An official update was posted in the Shopify Developer Community forum addressing the discount function API problem.

Status: Resolved - developers experiencing similar issues can reference the official Shopify Developer Community thread for details on the fix.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

We have multiple discounts that were previously working as combined discount types (shipping, order, product) using a discount extension. Suddenly, they’ve all changed to only product discounts.

Even when creating new discounts with this mutation:

graphql

mutation CreatePartnerDiscountCode {
  discountCodeAppCreate(
    codeAppDiscount: {
      title: "sample-test"
      functionId: "2ac7f32e-3b6b-48b3-a7d3-ea8fba68e876"
      startsAt: "2025-04-30T00:00:00"
      combinesWith: {
        productDiscounts: true
      }
      discountClasses: [SHIPPING, ORDER]
      code: "sampletest"
    }
  )
}
 

It only creates product discounts, despite specifying SHIPPING and ORDER classes. Recreating them doesn’t fix the issue.

Was there a recent change to the Partner API regarding multi-type discounts? Is anyone else experiencing this problem?

Thanks

2 Likes

I am having the same problem. Is there any official documentation or changelog available?

2 Likes

This sounds like a huge issue… I recommend you also open a thread in the Shopify Developer Community:

https://community.shopify.dev/

I’ve gotten replies about technical issues way more consistently there.

Best,

Tobe

2 Likes

Yes, It is a big issue on our end, let me try posting over there too, thanks!

1 Like

mee too i have the same issue

1 Like

This was solved, and Shopify posted an update here:

https://community.shopify.dev/t/new-discount-function-api-has-an-issue-when-create/15528/4