REST API
Search…
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:
1
{
2
"orderId": "1",
3
"email": "[email protected]",
4
"date": "2021-04-07T13:56:09.000Z",
5
"iban": "NL40INGB9130582334",
6
"bic": "NORWNOK1",
7
"fullname": "John Doe",
8
"items": [
9
{
10
"id": 1,
11
"quantity": 1,
12
"itemName": "Product Name",
13
"itemProductId": 1,
14
"returnReasonId": 1
15
}
16
]
17
}
Copied!
Copy link