Skip to end of banner
Go to start of banner

Search Return Order API (Beta)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

transporter

String

Courier partner name.

Yes

awbNumber

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

returnOrderDetailsList

array[]

list of all the return orders having requested awb number

Yes

returnOrderDetailsList.orderCode

String

Forward order code corresponding to which this return order belongs

Yes

returnOrderDetailsList.returnOrderCode

String

Unique identifier provided by the channel for the existing return order for which item is being added.

Yes

returnOrderDetailsList.trackingCode

String

Courier tracking number.

Yes

returnOrderDetailsList.locationCode

String

Location code of the warehouse where the return order will be received.

Yes

returnOrderDetailsList.returnOrderType

String

The type of return is this order.
Possible values- RETURN_TO_ORIGIN,CUSTOMER_RETURN,SELF_SHIP

Yes

returnOrderDetailsList.returnLineItems

Array[]

liist of all the return items of a particular return order

yes

returnOrderDetailsList.returnLineItems.channelReturnItemCode

String

Unique identifier provided by the channel for the return order item.

Yes

returnOrderDetailsList.returnLineItems.subOrderCode

String

unique identifier for each suborder after the split

Yes

returnOrderDetailsList.returnLineItems.channelSkuCode

String

SKU code for return order item.

Yes

returnOrderDetailsList.returnLineItems.reasonForReturn

String

Reason for return as given by the customer.

No

returnOrderDetailsList.returnLineItems.price

Double

Price of the product

No

returnOrderDetailsList.channelReturnOrderStatus

String

status of return order on channel

No

returnOrderDetailsList.omniReturnOrderStatus

String

status of return order in omni

No

returnOrderDetailsList.expectedDate

Date

The expected delivery date of the return order

Yes

returnOrderDetailsList.isSyncedToOms

boolean

is return order synced to omni or not

No

HTTP status

200

 

  • No labels