curl --location --request POST 'https://api.dev.ordermesh.io/v1/orders/refund' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": "b234ee56-7890-4f12-a123-fake",
"refunds": [
{
"itemId": "b234ee56-7890-fake",
"isShippingRefund": true,
"amount": 4,
"reason": "Never arrived"
},
{
"itemId": "b234ee56-7890-fake2",
"isShippingRefund": false,
"amount": 10,
"reason": "Poor quality."
}
]
}'{
"statusCode": 0
}