Refund an amount for an order. The amount must be less than or equal the refundable_amount
of the order.
Request
Body Params application/json
{
"amount": 0,
"reason": "string",
"note": "string",
"no_notification": true
}
Request samples
curl --location --request POST 'https://api.medusa-commerce.com/admin/orders//refund' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 0,
"reason": "string",
"note": "string",
"no_notification": true
}'
Responses
application/json Modified at 2023-10-08 12:50:29