...
Code Block | ||
---|---|---|
| ||
{ "forwardOrderCode": "1651836", "returnOrderCode": "000213401", "locationCode": "3082", "channelName": "CROCSIN", "eventType": "RETURN_ORDER_CANCELCREATE", "returnOrderTime": "2024-06-06T15:14:02.000+00:00", "orderCustomAttributes": { "attribute1": "GiftCombo", "attribute10": "RoutingAllowed", "attribute2": "LoopRequired", "attribute3": "CustomisedSLA", "attribute4": "SameDayDelivery", "attribute5": "Dummy-attribute-1", "attribute6": "Dummy-attribute-2", "attribute7": "Dummy-attribute-3", "attribute8": "Dummy-attribute-4", "attribute9": "Dummy-attribute-5", "channelMetadata": "string", "currency": "string" }, "orderItemCustomAttributes": [ { "barcode": "string", "channelSkuCode": "string", "clientSkuCode": "string", "orderItemCode": "string", "orderItemCustomAttributes": { "attribute1": "CustomisedProduct", "attribute10": "HandleWithCareProduct", "attribute2": "Dummy-attribute-1", "attribute3": "Dummy-attribute-2", "attribute4": "Dummy-attribute-3", "attribute5": "Dummy-attribute-4", "attribute6": "Dummy-attribute-5", "attribute7": "Dummy-attribute-6", "attribute8": "Dummy-attribute-7", "attribute9": "Dummy-attribute-8", "channelMetadata": "string" } } ], "orderItems": [ { "returnItemCodeitemCode": "218333", "reason": "SIZE MISMATCH", "channelSkuCode": "205182-0DD-M10W12", "status": "CANCELLEDPROCESSED", "isBundled": null, "returnOrderItemAttributes": { "attribute1": "string", "attribute10": "string", "attribute2": "string", "attribute3": "string", "attribute4": "string", "attribute5": "string", "attribute6": "string", "attribute7": "string", "attribute8": "string", "attribute9": "string", "channelMetadata": "string" } }, { "returnItemCode": "218333218334", "reason": "COLOURSIZE MISMATCH", "channelSkuCode": "205182-0DD-M10W12M10W11", "status": "CANCELLEDPROCESSED", "isBundled": null, "returnOrderItemAttributes": { "attribute1": "string", "attribute10": "string", "attribute2": "string", "attribute3": "string", "attribute4": "string", "attribute5": "string", "attribute6": "string", "attribute7": "string", "attribute8": "string", "attribute9": "string", "channelMetadata": "string" } } ], "channelReturnOrderStatus": "OUT_FOR_PICKUP", "expectedDate": 1724311208.000000000, "isUploaded": "false", "orderType": "CUSTOMER_RETURN", "awbNumber": "81732657871", "transporter": "Blue Dart Reverse QC", "status": "COMPLETED", "returnOrderAttributes": { "attribute1": "string", "attribute10": "string", "attribute2": "string", "attribute3": "string", "attribute4": "string", "attribute5": "string", "attribute6": "string", "attribute7": "string", "attribute8": "CANCELLEDstring", "virtualSkuDefinitionsattribute9": null"string", "bundledSkuDefinitionschannelMetadata": null "string" } } |
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 | Channel name of the marketplace. | Yes |
| String | Time at which return order got placed by customer | No |
| Object[] | Custom attributes stored for Forward order | No |
| Object[] | Custom attributes stored for Forward order items | No |
| String | Return Order status coming from Logistics management system | No |
| String | Status of the return
| 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 | Status of the return order:
| No |
| String | Defines if the item is a bundled SKU or not | No |
| Integer | Quantity cancelled in forward order | No |
| Double | Channel Discount provided for the item | No |
| Object[] | Custom attributes of order item | No |
| Object | List of attributes for the order item | No |
| String | Custom attribute 1 | No |
| String | Custom attribute 2 | No |
| String | Custom attribute 3 | No |
| String | Custom attribute 4 | No |
| String | Custom attribute 5 | No |
| String | Custom attribute 6 | No |
| String | Custom attribute 7 | No |
| String | Custom attribute 8 | No |
| String | Custom attribute 9 | No |
| String | Custom attribute 10 | No |
| Object | meta data fields as an object which is to be parsed at the channel’s end | No |
| String |
Status for return shipment received from logistics management system | No |
|
Zoned Date Time | Date in case client is using Return Plug in like Returns Prime | No | |
| Boolean | whether the return is uploaded in omni or created though api. | Yes |
| String | Type of return. Possible values →
| Yes |
| String | Courier tracking number. | Yes |
| String | Courier partner name. | Yes |
| Object [] | Custom attributes of the forward order | no |
| String | Custom attribute 1 | no |
| String | Custom attribute 2 | no |
| String | Custom attribute 2 | no |
| String | Custom attribute 3 | no |
| String | Custom attribute 4 | no |
| String | Custom attribute 5 | no |
| String | Custom attribute 6 | no |
| String | Custom attribute 7 | no |
| String | Custom attribute 8 | no |
| String | Custom attribute 9 | no |
| String | Custom attribute 10 | no |
| Object | Meta data fields as an object which is to be parsed at the channel’s end | no |
Response Body
Empty Body
HttpStatus : 200