Request and create a Return for items in an order. If the return shipping method is specified, it will be automatically fulfilled.
Request
Body Params application/json
{
"note": "string",
"receive_now": false,
"no_notification": true,
"refund": 0,
"return_shipping": {
"option_id": "string",
"price": 0
},
"items": [
{
"item_id": "string",
"reason_id": "string",
"note": "string",
"quantity": 0
}
]
}
Request samples
curl --location --request POST 'https://api.medusa-commerce.com/admin/orders//return' \
--header 'Content-Type: application/json' \
--data-raw '{
"note": "string",
"receive_now": false,
"no_notification": true,
"refund": 0,
"return_shipping": {
"option_id": "string",
"price": 0
},
"items": [
{
"item_id": "string",
"reason_id": "string",
"note": "string",
"quantity": 0
}
]
}'
Responses
application/json Modified at 2023-10-08 12:50:29