Discussing APIs and development related to customers, discounts, and order management.
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"
}
],
I am facing the same issue. Is there any idea on how to resolve this?