Links

Create a Return

post
http://wms.eshopbox.com
/api/return
Create Return
curl --location --request POST 'http://wms.eshopbox.com/api/return' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data-raw '{
"customerReturnNumber":"50023235",
"customerOrderNumber":"41004412",
"externalChannelID":"PREPROD",
"pickup_type": "reverse",
"refundAmount": 2100,
"isCOD": "0",
"return_request_date": "2018-08-21 22:00:05",
"repaymentType": "bank",
"optional":{
"bankDetails":{
"beneficiaryName":"Sam",
"beneficiaryAccountNo":"1234567899746",
"beneficiaryIfscCode":"SIB0003246"
}
},
"pickupAddress": {
"customerName": "Sam",
"addressLine1": "Green Soul, reliable space",
"addressLine2": "thane",
"city": "Thane",
"state": "Maharashtra",
"postalCode": "421501",
"countryCode": "IN",
"countryName": "India",
"contactPhone": "999999999",
"email": "[email protected]"
},
"items":
[
{
"lineItemSequenceNumber": 3022,
"itemID": "5051039468601",
"quantity": "1",
"returnReason": "request for new",
"additionalInfo":{
"image":"www.image",
"comments":"bad item"
},
"itemImage":"www.realImage.com"
}
]
}'