Returns API Routes
Customers can request to return items in their order. The admin user then receives and handles the return.
These API routes allows customers to create a return.
POST /store/returns#
Create Return
Create a return for an order's items. The admin receives the return and process it from their side. This API route doesn't require customer authentication, so that guest customers can request a return for their orders. To restrict access to this API route, refer to the Restrict Return Creation guide.
Authentication: none.
Header parameters
x-publishable-api-keystringx-medusa-localestringOptionalExample:
en-USQuery parameters
localestringOptionalExample:
en-USRequest body (application/json)
order_idstringitemsobject[]The return's items.
itemsobject[]return_shippingobjectThe return's shipping details.
return_shippingobjectnotestringOptionalreceive_nowbooleanOptionallocation_idstringOptionalRequest examples
Responses
200 OK
returnobjectThe return's details.
returnobject400, 401, 404, 409, 422, 500: an error response is returned.
Emitted events
order.return_requested: Emitted when a return request is confirmed.order.return_received: Emitted when a return is marked as received.