REST API
Search
⌃K

Create new return

Initiate the return process
Allow a final customer to create a new return.
Returns are only available for a determinate period of time (usually 30 days), but it varies from supplier to supplier. Take this into account when you mount this solution on your frontend because you will have to calculate if the return is actually possible or not.
post
https://api-returns.outshifter.com/api
/returns
Create a new return

Example

Body request example:
{
"orderId": "1",
"email": "[email protected]",
"date": "2021-04-07T13:56:09.000Z",
"iban": "NL40INGB9130582334",
"bic": "NORWNOK1",
"fullname": "John Doe",
"items": [
{
"id": 1,
"quantity": 1,
"itemName": "Product Name",
"itemProductId": 1,
"returnReasonId": 1
}
]
}