Shopify Discount Apis combination in shopify functions

Shopify Discount Apis combination in shopify functions

PaulMillet83
Shopify Partner
5 0 1

Hello,
I am currently implementing discounts using shopify product discount api and shopify shipping discount api.
But when I set both of them active, shipping discount api does not work, it only works when i disable product discount api.

When I try combining those 2 discounts they have sth like "Not set to combine" in their combine field.
Please help me fix this tricky issue.
Thank you

 
Replies 2 (2)

BenMurphySmith
Shopify Partner
7 2 19

Also having a nightmare with this currently, i'm on with shopify support trying to work this out. I'll post here if I find any help!

Bobstacle
Shopify Partner
12 1 1

Hey, did you get any resolution to this?

I felt like this might be the cause of an issue I'm having with combinations of Product- and Order-level discounts - finally realised that the 'combinesWith' field needed to be set by mutation in the Admin API:

https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/discountAutomaticAppUpdate