Returns¶
Whenever an order is returned back to Logitrail’s warehouse, an order return is created to the system.
If the order is restocked, an inbound shipment is created and processed for the return.
There are two types of returns in the system (see type field in the return object):
agent_return is created if the customer has not picked the parcel up and the pickup point returns the parcel back. The parcel is unopened. An agent return can be usually sent again.
customer_return is created if the customer has opened the parcel and returns the original order only partially. See inbound_shipment for returned items.
List Order Returns¶
Endpoint |
|
Method |
GET |
Query Parameters¶
|
Filter by status. If omitted, only “active” returns are listed. (processed and deleted returns are omitted) |
|
Filter by return creation date, starting from the given date. |
|
Filter by return creation date, ending to the given date. |
|
Pagination: start listing from nth result (defaults to 0) |
|
Pagination: return max given results (defaults to 250) |
Response¶
Status: HTTP 200 OK
JSON object with following parameters.
|
Logitrail’s ID for the return (24-digit hex) |
|
Timestamp when the return is created to the system. |
|
Return status: pending, resend_pending, restocking_pending, processing, processed |
|
agent_return or customer_return |
|
Full order JSON of the original order. |
|
Full inbound shipment JSON of the restocking order. |