Re: 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?