...
This API will call the eWMS with the details of return sales orders.This will be triggered at a certain frequency by Omni at the following events:
RETURN_ORDER_CREATE
RETURN_ORDER_CANCEL
Request
Code Block |
---|
{
"forwardOrderCode": "108",
"returnOrderCode": "100078",
"locationCode": "Wid234",
"eventType": "RETURN_ORDER_CREATE/RETURN_ORDER_CANCEL",
"returnOrderTime": "2020-10-16T20:22:28.000+05:30",
"orderItems": [
{
"returnItemCode": "I10098",
"reason": "Different Size",
"channelSkuCode": "10007345"
}
],
"orderType": "CUSTOMER_RETURN",
"awbNumber": "HYN402",
"transporter": "transporter"
} |
...
Parameter Name | Data Type | Description | Mandatory |
| String | Forward order code for which return order is being created. | yes |
| String | Possible values : { | yes |
| String | Unique identifier provided by the channel for the return order being created. | yes |
| String | Location code of the warehouse where the return order will be received. | yes |
| String | Time at which return order got placed by customer | no |
| Object[] | Array of order items, order items represent each line of return order. | yes |
| String | Unique identifier provided by the channel for the return order item. | yes |
| String | Reason for return as given by the customer. | yes |
| String | SKU code for return order item. | yes |
| String | Type of return. Possible values - SELF_SHIP,CUSTOMER_RETURN,RETURN_TO_ORIGIN | yes |
| String | Courier tracking number. | no |
| String | Courier partner name. | no |
...