Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

create an order with multi discounts via API but only the first discount applied

create an order with multi discounts via API but only the first discount applied

libruce
Shopify Partner
1 0 2

Hi There,

 

  I tried to create an order with multi discounts via API but only the first discount applied, is it by design or a bug?
  payload:
   

 

 

"discount_codes": [
            {
                "code": "platform&seller",
                "amount": "1.00",
                "type": "fixed_amount"
            },
            {
                "code": "seller_discount",
                "amount": "2.00",
                "type": "fixed_amount"
            },
            {
                "code": "shipping_fee_platform_discount",
                "amount": "2.50",
                "type": "fixed_amount"
            },
            {
                "code": "shipping_fee_seller_discount",
                "amount": "4.00",
                "type": "fixed_amount"
            }
        ]

 

 

 

result:

 

 

 

"discount_codes": [
            {
                "code": "platform&seller",
                "amount": "1.00",
                "type": "fixed_amount"
            }
        ],

 

 

Reply 1 (1)

nuthon
Visitor
3 0 1

I am facing the same issue. Is there any idea on how to resolve this?