We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Unable to combine discounts using rest API

Unable to combine discounts using rest API

Otpculture
Shopify Partner
1 0 3

Hi,

 

Is there anyone who can help me to create a discount code by REST API and make combined discount option selected?

I already tried the price rule link to create the discount : https://shopify.dev/docs/api/admin-rest/2023-04/resources/pricerule#create-2020-10

and not able to find the key for the combined discount, I have created multiple item-wise discounts and should be able to apply multiple on checkout but it's just overriding and applying only one last discount code.. How I can apply all the discounts at once?

Please check attached file, I want to make that option enable. Screenshot (3).png

My script is in PHP and it's totally backend process, so do not share any frontend solution.

Thank you.

 

Replies 2 (2)

clifzero
Shopify Partner
3 0 1

@Otpculture have you found a solution to this problem? I'm basically having the same problem

benkrt
Visitor
1 0 0

I have the same issue. Did you find a solution ? If you do I would be happy to see it 🙂