Outbound | POST | {Client’s URL}
Summary
This API will call the eWMS with sales order details.
Description
This API will call the eWMS with the details of sales orders.
This will be triggered at a certain frequency by Omni at the following events:
ORDER_CREATE
ORDER_PARTIAL_CANCEL
ORDER_CANCEL
Request
{ "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": "ORDER_CREATE/ORDER_PARTIAL_CANCEL/ORDER_CANCEL", "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" } }
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 : { ORDER_CREATE,ORDER_CANCEL,ORDER_PARTIAL_CANCEL} | 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 |
HttpStatus : 200