Outbound | POST | {Client’s URL}
Summary
This API push the sales order details to fulfilment system
Description
This API will call the EFS with the details of sales orders.
This will be triggered at a certain frequency by Increff OMS at the following events:
SUBORDER_CREATE
SUBORDER_PARTIAL_CANCEL
SUBORDER_CANCEL
SUBORDER_PROPERTIES_UPDATE
SUBORDER_COMPLETE
Please turn on these event from OMS UI.
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": "SUBORDER_CREATE/SUBORDER_PARTIAL_CANCEL/SUBORDER_CANCEL/SUBORDER_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, "isVirtual": true } ], "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 |
| String | Scannable barcode on the product | Yes |
| String | SKU code of order item | Yes |
| 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 |
| Boolean | Field to determine if an orderItem is virtual | Yes |
| String | Possible values : { SUBORDER_CREATE,SUBORDER_PARTIAL_CANCEL,SUBORDER_CANCEL,SUBORDER_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 | Yes if its being used |
| 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 |
HttpStatus : 200