Sudden Change in Partner Discount Types - Bug or API Change

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

There is no change on API and it shall allow a combination of discounts( one of each type Product, Shipping and Order).

  1. Check if the volume was created or not as on times we expect a separate volume and if a volume is not created then the discount functions will nto generate expected results.
  2. Post function logs or look at the function log and debug for a logical error.

Try this :
mutation CreatePartnerDiscountCode {
discountCodeAppCreate(
codeAppDiscount: {
title: “sample-test”
functionId: “2ac7f32e-3b6b-48b3-a7d3-ea8fba68e876”
startsAt: “2025-04-30T00:00:00”
combinesWith: {
productDiscounts: true
orderDiscounts: true
shippingDiscounts: true
}
discountClasses: [SHIPPING, ORDER, PRODUCT]
code: “sampletest”
}
) {
userErrors {
field
message
}
}
}

Summary Table

Mutation Product Discounts Order Discounts Shipping Discounts
mutation shared by Me :white_check_mark: Allowed :white_check_mark: Allowed :white_check_mark: Allowed
**your mutation code ** :white_check_mark: Allowed :cross_mark: Not Allowed :cross_mark: Not Allowed