...
This will be triggered at a certain frequency by Omni at the following events:
ORDERSUBORDER_CREATE
ORDERSUBORDER_PARTIAL_CANCELORDER
SUBORDER_CANCEL
ORDERSUBORDER_PROPERTIES_UPDATE
SUBORDER_COMPLETE
Request
Code Block |
---|
{ "locationCode": "IN132", "messageId": 12345, "orderCode": "flipkart1234", "parentOrderCode": "flipkart1221", "orderTime": "2020-10-16T20:22:28.000+00:00", "startProcessingTime": "2020-10-16T20:22:28.000+00:00", "requiredBy": "2020-10-16T20:22:28.000+00:00", "paymentMethod": "COD", "isPriority": false, "channelName": "flipkart", "eventType": "ORDERSUBORDER_CREATE/ORDERSUBORDER_PARTIAL_CANCEL/ORDERSUBORDER_CANCEL/ORDERSUBORDER_PROPERTIES_UPDATE/SUBORDER_COMPLETE", "onHold": true/false, "orderItems": [ { "clientSkuId": "1000889888" "channelSkuCode": "1000889888", "orderedQuantity": 2, "cancelledQuantity": 1, "channelDiscount": 50, "sellingPricePerUnit": 500, "giftChargePerUnit": 10, "sellerDiscount": 5, "shippingCharge": 0 } ], "shippingAddress": { "name": "Customer's Name", "line1": "Line Address 1", "line2": "Line Address 2", "line3": "Line Address 3", "city": "city", "state": "state", "zip": "zip", "country": "country", "email": "abc@gmail.com", "phone": "9999999999" }, "billingAddress": { "name": "customer", "line1": "address line 1", "line2": "address line 2", "line3": "address line 3", "city": "Bengaluru", "state": "Karnataka", "zip": "560076", "country": "INDIA", "email": "abc@gmail.com", "phone": "9999999999" }, "virtualSkuDefinitions": [ { "virtualParentChannelSkuId": "sku_34", "virtualParentBarcode": "bar_43", "childSkus": [ { "channelSkuCode": "ch_sku_23", "barcode": "bar_32", "qty": 21 } ] } ] } |
...
Parameter Name | Data Type | Description | Mandatory |
| String | Location from which order was fulfilled | Yes
|
| String | Unique code used by the channel to identify order | yes |
| String | Parent order code which can be null or empty or some duplicate value across orders. | no |
| String | Channel name of the marketplace. | yes |
| String | Time at which order was placed at the channel in UNIX (UTC) | yes |
| String | Time after which order packing is allowed by MarketPlace | yes |
| String | Time by which the order should be manifested | yes |
| Long | Unique Identifier of a notification(for De-duplication) | Yes |
| String | Possible values - COD, NCOD | yes |
| Boolean | This flag is true in case order is HIGH priority than normal orders. | yes |
onHold | Boolean | True if order is onHold for processing otherwise false | yes |
| Object[] | List of order items | yes |
orderItems.clientSkuId | String | Scannble barcode on the product | yes |
| String | SKU code of order item | no |
| int | Ordered Quantity | yes |
| int | Absolute cancelledQuantity | yes |
| double | sellingPricePerUnit | no |
| Double | giftChargePerUnit | no |
| Double | Discount provided by channel per unit | no |
| Double
| Discount provided by seller per unit | no |
| Double | Shipping charges on item | no |
| String | Possible values : { ORDERSUBORDER_CREATE,ORDER,SUBORDER_PARTIAL_CANCEL,SUBORDER_CANCEL,ORDER_PARTIAL_CANCELSUBORDER_PROPERTIES_UPDATE,SUBORDER_COMPLETE} | yes |
| Object | Shipping address of the customer | yes |
| String | Name of customer | yes |
| String | 1st line of customer’s address | yes |
| String | 2nd line of customer’s address | no |
| String | 3rd line of customer’s address | no |
| String | City of customer | yes |
| String | State of customer | yes |
| String | ZIP/Pin code of customer | yes |
| String | Country of customer | yes |
| String | Email of customer | no |
| String | Phone Number of customer | no |
| Object | Billing address of the customer | yes |
| String | Name of customer | yes |
| String | 1st line of customer’s address | yes |
| String | 2nd line of customer’s address | no |
| String | 3rd line of customer’s address | no |
| String | City of customer | yes |
| String | State of customer | yes |
| String | ZIP/Pin code of customer | yes |
| String | Country of customer | yes |
| String | Email of customer | no |
| String | Phone Number of customer | no |
| Object[] | List of virtual SKU definitions | no |
| String | SKU code of virtual SKU | no |
| String | Barcode of parent SKU | no |
| Object[] | List of child SKUs | no |
| String | SKU code of child SKU | no |
| Integer | Quantity of child SKU | no |
| String | Barcode of child SKU | no |
...