Inbound | POST | /return/get/awb
Summary
This api will fetch the return order from omni based on return awb or return order id
Description
The API takes awb number and transporter and returns all the return orders belonging to this awb number.
Request
{ "awbNumber": "awb1", "transporter": "trans1" }
Parameter Name | Data Type | Description | Mandatory |
---|---|---|---|
| String | Courier partner name. | Yes |
| String | Courier tracking number. | Yes |
Response
{ "returnOrderDetailsList": [ { "orderCode": "100", "returnOrderCode": "100078", "trackingCode": "awb1", "transporter": "trans1", "locationCode": "Wid234", "returnOrderType": "RETURN_TO_ORIGIN", "returnLineItems": [ { "channelReturnItemCode": "I10098", "subOrderCode": "1", "channelSkuCode": "10007345", "reasonForReturn": "Different Size", "price": 100.00 } ], "channelReturnOrderStatus": "CREATED", "omniReturnOrderStatus": "CREATED", "expectedDate": "2024-04-03T15:12:10.719+05:30", "isSyncedToOms": false } ] }
Parameter Name | Data Type | Description | Mandatory |
---|---|---|---|
| array[] | list of all the return orders having requested awb number | Yes |
| String | Forward order code corresponding to which this return order belongs | Yes |
| String | Unique identifier provided by the channel for the existing return order for which item is being added. | Yes |
| String | Courier tracking number. | Yes |
| String | Location code of the warehouse where the return order will be received. | Yes |
| String | The type of return is this order. | Yes |
| Array[] | liist of all the return items of a particular return order | yes |
| String | Unique identifier provided by the channel for the return order item. | Yes |
| String | unique identifier for each suborder after the split | Yes |
| String | SKU code for return order item. | Yes |
| String | Reason for return as given by the customer. | No |
| Double | Price of the product | No |
| String | status of return order on channel | No |
| String | status of return order in omni | No |
| Date | The expected delivery date of the return order | Yes |
| boolean | is return order synced to omni or not | No |
HTTP status
200