This API allows you to create a return request in the Eshopbox system. Only customer returns can be created, and the order must be fulfilled and delivered in the Eshopbox workspace before initiating a
Endpoint
POSThttp://wms.eshopbox.com/api/return
Headers
Name
Type
Description
Authorization
string
Bearer Token to grant access to the API
Request Body
Name
Mandatory
Type
Description
externalChannelID
No
string
Name of the sales channel generated by Eshopbox
customerReturnNumber
Yes
string
Unique return number against a sales channel
assignCourier
Yes
boolean
true to assign return tracking ID, false if not required
customerOrderId
Yes
string
Unique order number against a sales channel (Previously customerOrderNumber)
pickup_type
Yes
string
Pickup type for return, default: "reverse"
refundAmount
Yes
string
Amount to be refunded on the return request
isCOD
Yes
boolean
true if the order is Cash on Delivery (COD), false if prepaid. Since we are created return, if will be false.
return_request_date
Yes
string
Return request date and time (cannot be NULL, even though it's optional)