Return Reasons API Routes
A return reason is a possible reason a customer wants to return an item.
Use these API routes when implementing return creation flow in your storefront to allow customers to select their return reason.
GET /store/return-reasons#
List Return Reasons
Retrieve a list of return reasons. The return reasons can be sorted or paginated.
Authentication: none.
Header parameters
x-publishable-api-keystringx-medusa-localestringOptionalen-USQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.offsetnumberOptionallimitnumberOptionalorderstringOptional-.with_deletedbooleanOptionallocalestringOptionalen-USRequest examples
Responses
200 OK
limitnumberoffsetnumbercountnumberreturn_reasonsobject[]The list of return reasons.
return_reasonsobject[]400, 401, 404, 409, 422, 500: an error response is returned.
GET /store/return-reasons/{id}#
Get a Return Reason
Retrieve a return reason by its ID. You can expand the return reason's relations or select the fields that should be returned.
Authentication: none.
Path parameters
idstringHeader parameters
x-publishable-api-keystringx-medusa-localestringOptionalen-USQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.localestringOptionalen-USRequest examples
Responses
200 OK
return_reasonobjectThe return reason's details.
return_reasonobject400, 401, 404, 409, 422, 500: an error response is returned.