Inbound | POST | /return/update-return-order

Summary

This API is used to update the return order details.

Description

This API is used to update the status, tracking code, transporter and expected date of return order

Request

{
    "returnOrderCode":"retO1",
    "locationCode":"loc1",
    "transporter":"trans1",
    "trackingCode":"awb1",
    "returnOrderStatus":"in_transit",
    "expectedDate":"2022-10-30T20:22:28.000+00:00",
    "returnOrderAttributes": {
    "attribute1": "string",
    "attribute10": "string",
    "attribute2": "string",
    "attribute3": "string",
    "attribute4": "string",
    "attribute5": "string",
    "attribute6": "string",
    "attribute7": "string",
    "attribute8": "string",
    "attribute9": "string",
    "channelMetadata": "string"
  },
  "returnOrderItemAttributes": [
    {
      "attribute1": "string",
      "attribute10": "string",
      "attribute2": "string",
      "attribute3": "string",
      "attribute4": "string",
      "attribute5": "string",
      "attribute6": "string",
      "attribute7": "string",
      "attribute8": "string",
      "attribute9": "string",
      "channelMetadata": "string",
      "channelSkuCode": "string", // not null
      "orderItemCode": "string" // not null
    }
  ]
}
Parameter Name Data Type Description Mandatory
returnOrderCode String Unique identifier provided by the channel for the return order being created. yes
locationCode String Location code of the warehouse where the return order will be received. yes
transporter String Courier partner name. no
trackingCode String Courier tracking number. no
returnOrderStatus String The status of the return order on channel no
expectedDate String The expected delivery date of the return order no
returnOrderAttributes Object Custom attributes of the forward order no
returnOrderAttributes.attribute1 String Custom attribute 1 no
returnOrderAttributes.attribute2 String Custom attribute 2 no
returnOrderAttributes.attribute2 String Custom attribute 2 no
returnOrderAttributes.attribute3 String Custom attribute 3 no
returnOrderAttributes.attribute4 String Custom attribute 4 no
returnOrderAttributes.attribute5 String Custom attribute 5 no
returnOrderAttributes.attribute6 String Custom attribute 6 no
returnOrderAttributes.attribute7 String Custom attribute 7 no
returnOrderAttributes.attribute8 String Custom attribute 8 no
returnOrderAttributes.attribute9 String Custom attribute 9 no
returnOrderAttributes.attribute10 String Custom attribute 10 no
returnOrderAttributes.channelMetaData Object meta data fields as an object which is to be parsed at the channel’s end no
returnOrderItemAttributes Object[] Custom attributes of order item no
returnOrderItemAttributes.orderItemCustomAttributes Object List of attributes for the order item no
returnOrderItemAttributes.attribute1 String Custom attribute 1 no
returnOrderItemAttributes.attribute2 String Custom attribute 2 no
returnOrderItemAttributes.attribute3 String Custom attribute 3 no
returnOrderItemAttributes.attribute4 String Custom attribute 4 no
returnOrderItemAttributes.attribute5 String Custom attribute 5 no
returnOrderItemAttributes.attribute6 String Custom attribute 6 no
returnOrderItemAttributes.attribute7 String Custom attribute 7 no
returnOrderItemAttributes.attribute8 String Custom attribute 8 no
returnOrderItemAttributes.attribute9 String Custom attribute 9 no
returnOrderItemAttributes.attribute10 String Custom attribute 10 no
returnOrderItemAttributes.channelMetaData Object meta data fields as an object which is to be parsed at the channel’s end no
returnOrderItemAttributes.channelSkuCode Object channelSkuCode which is returned no
returnOrderItemAttributes.orderItemCode Object return order item code of the item returned no

Response

Empty Body

HttpStatus : 200