Authorization: Bearer ********************curl --location 'https://api.dev.ordermesh.io/order/v1/orders/refund' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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."
}
]
}'{
"errorCode": "ValidationError",
"requestId": "224b67bd-02e2-4b0c-9eef-2559e51d1866",
"errors": [
{
"errorMessage": "'Title' must not be empty.",
"propertyName": "Title",
"attemptedValue": ""
}
]
}