The returns API allows you to do following:
Creates return order for inspection.
Return order details
Bad Request
Unauthorized
Unprocessable Entity
{- "sourceAddress": {
- "name": "string",
- "company": "string",
- "street1": "string",
- "street2": "string",
- "city": "string",
- "zip": "string",
- "state": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "isResidential": true
}, - "returnItems": [
- {
- "identifier": "string",
- "type": "LOGISTICS_SKU",
- "quantity": 1
}
], - "externalReturnId": "string",
- "rma": "string",
- "externalLabel": {
- "trackingCode": "string",
- "carrier": "string",
- "trackingUrl": "string",
- "labelUrl": "string"
}, - "logisticsOrderId": "string"
}
{- "id": 0,
- "status": "CREATED",
- "sourceAddress": {
- "name": "string",
- "company": "string",
- "street1": "string",
- "street2": "string",
- "city": "string",
- "zip": "string",
- "state": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "isResidential": true
}, - "shippingLabel": {
- "trackingCode": "string",
- "trackingStatus": "CREATED",
- "carrier": "string",
- "trackingUrl": "string",
- "labelUrl": "string"
}, - "rma": "string",
- "externalReturnId": "string",
- "returnItems": [
- {
- "identifier": "string",
- "expectedQuantity": 0,
- "inspectedItems": [
- {
- "receivedCondition": "string",
- "finalCondition": "string",
- "disposition": "string"
}
]
}
], - "shippedAt": "2019-08-24T14:15:22Z",
- "receivedAt": "2019-08-24T14:15:22Z",
- "inspectedAt": "2019-08-24T14:15:22Z"
}
Paginated Return Orders
id required | number <double> Unique identifier of the return. |
status required | string (LogisticsReturnStatus) The current status of the return. |
object (DeliverrAddress) Source address where the return was shipped from, if known. | |
required | object (ShippingLabel) The label used to ship the return. |
rma required | string RMA of the return. |
externalReturnId required | string A unique reference to the return order in the external system submitting the request. |
required | Array of objects (ReturnItem) Items contained in the return. |
shippedAt | string <date-time> Date when the return was shipped. |
receivedAt | string <date-time> Date when the return was received at the warehouse. |
inspectedAt | string <date-time> Date when the return was inspected at the warehouse. |
Bad Request
Unauthorized
Unprocessable Entity
[- {
- "id": 0,
- "status": "CREATED",
- "sourceAddress": {
- "name": "string",
- "company": "string",
- "street1": "string",
- "street2": "string",
- "city": "string",
- "zip": "string",
- "state": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "isResidential": true
}, - "shippingLabel": {
- "trackingCode": "string",
- "trackingStatus": "CREATED",
- "carrier": "string",
- "trackingUrl": "string",
- "labelUrl": "string"
}, - "rma": "string",
- "externalReturnId": "string",
- "returnItems": [
- {
- "identifier": "string",
- "expectedQuantity": 0,
- "inspectedItems": [
- {
- "receivedCondition": "string",
- "finalCondition": "string",
- "disposition": "string"
}
]
}
], - "shippedAt": "2019-08-24T14:15:22Z",
- "receivedAt": "2019-08-24T14:15:22Z",
- "inspectedAt": "2019-08-24T14:15:22Z"
}
]
Get return by returnId. This will include ReturnOrder, ReturnItems with inspection status and ShippingLabel.
Return details
id required | number <double> Unique identifier of the return. | ||||||||||
status required | string (LogisticsReturnStatus) The current status of the return. | ||||||||||
object (DeliverrAddress) Source address where the return was shipped from, if known. | |||||||||||
required | object (ShippingLabel) The label used to ship the return. | ||||||||||
| |||||||||||
rma required | string RMA of the return. | ||||||||||
externalReturnId required | string A unique reference to the return order in the external system submitting the request. | ||||||||||
required | Array of objects (ReturnItem) Items contained in the return. | ||||||||||
Array
| |||||||||||
shippedAt | string <date-time> Date when the return was shipped. | ||||||||||
receivedAt | string <date-time> Date when the return was received at the warehouse. | ||||||||||
inspectedAt | string <date-time> Date when the return was inspected at the warehouse. |
Bad Request
Unauthorized
Not Found
{- "id": 0,
- "status": "CREATED",
- "sourceAddress": {
- "name": "string",
- "company": "string",
- "street1": "string",
- "street2": "string",
- "city": "string",
- "zip": "string",
- "state": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "isResidential": true
}, - "shippingLabel": {
- "trackingCode": "string",
- "trackingStatus": "CREATED",
- "carrier": "string",
- "trackingUrl": "string",
- "labelUrl": "string"
}, - "rma": "string",
- "externalReturnId": "string",
- "returnItems": [
- {
- "identifier": "string",
- "expectedQuantity": 0,
- "inspectedItems": [
- {
- "receivedCondition": "string",
- "finalCondition": "string",
- "disposition": "string"
}
]
}
], - "shippedAt": "2019-08-24T14:15:22Z",
- "receivedAt": "2019-08-24T14:15:22Z",
- "inspectedAt": "2019-08-24T14:15:22Z"
}
Cancel a return that was created. Return will not be cancelled if it is received.
Successfully cancelled the return
Bad Request
Unauthorized
Not Found
{- "status": 400,
- "type": "string",
- "title": "string",
- "detail": "string",
- "instance": "string"
}