Inbound | POSTÂ | /return/return-orders
Summary
This API is used to create B2C return orders in Assure.
Description
This API is used to create B2C return orders in Assure. One order item represents only one quantity of an SKU. If there are multiple quantities of the same SKU then multiple order items should be created.
Request
Code Block | ||
---|---|---|
| ||
{ "forwardOrderCode": "108", "returnOrderCode": "100078", "locationCode": "Wid234", "returnOrderTime": "2020-10-16T20:22:28.000+05:30", "orderItems": [ { "itemCode": "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 | 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 |
Response
Empty Body
HttpStatus : 200