Push Outward Order Events API
Outbound | POST | {Client’s URL}
Summary
This API pushes the Sales Order level details to External fulfilment system
Description
This API will call the External Fulfillment System (EFS) and send the details of Sale Orders and Sale Order line items.
This API trigger will be scheduled at a certain frequency by Increff OMS system at the following events:
SUBORDER_CREATE
SUBORDER_PARTIAL_CANCEL
SUBORDER_CANCEL
SUBORDER_COMPLETE
The above listed events can be enabled or disabled from Increff’s CIMS user interface with help of Increff support team
Request
{
"locationCode": "IN132",
"messageId": 12345,
"orderCode": "flipkart1234",
"parentOrderCode": "flipkart1221",
"orderTime": "2020-10-16T20:22:28Z[UTC]",
"startProcessingTime": "2020-10-16T20:22:28Z[UTC]",
"requiredBy": "2020-10-16T20:22:28Z[UTC]",
"paymentMethod": "COD",
"isPriority": false,
"channelName": "flipkart",
"eventType": "SUBORDER_CREATE/SUBORDER_PARTIAL_CANCEL/SUBORDER_CANCEL/SUBORDER_COMPLETE",
"onHold": false,
"orderCustomAttributes": {
"attribute1": "test_4e10f67e0585",
"attribute2": "test_df7f45161dbf",
"attribute3": "test_511554245071",
"attribute4": "test_285ab90a9a26",
"attribute5": "test_c9902353bd62",
"attribute6": "test_29bf877ad20e",
"attribute7": "test_f05c5ee7bda0",
"attribute9": "test_913b35f805f0",
"attribute10": "test_e3af29b52cda",
"channelMetadata": {
"MetaDataTestExample1": "test_13669a9d0d24",
"MetaDataTestExample2": "test_13669a9d0d25"
},
"currency": "test_ad35da54ae2f"
},
"orderItems": [{
"clientSkuId": "1000889888",
"channelSkuCode": "1000889888",
"orderedQuantity": 2,
"cancelledQuantity": 1,
"channelDiscount": 50,
"sellingPricePerUnit": 500,
"giftChargePerUnit": 10,
"sellerDiscount": 5,
"shippingCharge": 0,
"isVirtual": true,
"orderItemCustomAttributes": {
"attribute1": "test_9500ccd4855f",
"attribute2": "test_957207fbdbb0",
"attribute3": "test_e9c4494fc055",
"attribute4": "test_2c6670838f48",
"attribute5": "test_09156554f500",
"attribute6": "test_20ab8d00c447",
"attribute7": "test_f0c3e77287ae",
"attribute9": "test_691c1f899bb8",
"attribute10": "test_1e7511fe9fc8",
"channelMetadata": {
"MetaDataTestExample1": "test_13669a9d0d24",
"MetaDataTestExample2": "test_13669a9d0d25"
}
}
}],
"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
}]
}],
"bundledSkuDefinitions": [
{
"childSkus": [
{
"barcode": "string",
"channelSkuCode": "string",
"qty": 0
}
],
"bundledParentBarcode": "string",
"bundledParentChannelSkuId": "string"
}
]
}
Parameter Name | Data Type | Description | Mandatory |
| String | Identifier of the location from which order is fulfilled | Yes
|
| String | Unique code used by the channel to identify order | Yes |
| String | Order identifier to map the parent order with child orders | No |
| String | Channel name of the marketplace | Yes |
| String | Time at which order was placed at the channel by customer (in UTC) | Yes |
| String | Time after which order processing is allowed in the fulfillment system(in UTC) | Yes |
| String | SLA time before which order processing is expected to be completed(in UTC) | Yes |
| Long | Unique Identifier of a notification(for De-duplication) | Yes |
| String | It signifies the payment mode using which customer has placed the order Possible values → | Yes |
| Boolean | This flag is | Yes |
| Boolean | Identifier to be used to decide whether an order should be kept onHold for processing or not. Possible Values → | Yes |
| Object | Custom attributes of order | 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 |
| String | Currency | no |
| Object | meta data fields as an object which is to be parsed at the channel’s end | no |
| Object[] | List of order items | Yes |
| String | Scannable barcode on the product | Yes |
| String | SKU identifier of channel | 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 |
| Object[] | Custom attributes of 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 | Possible values : { SUBORDER_CREATE,SUBORDER_PARTIAL_CANCEL,SUBORDER_CANCEL,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 |
| Object[] | List of bundled sku definitions | yes |
| String | Unique barcode of bundled Sku | no |
| String | Unique identifier of bundled Sku at channel | yes |
| Object[] | List of child SKUs | yes |
| String | Unique barcode of child sku | no |
| String | Unique identifier of child sku at channel | no |
| Integer | child sku quantity | no |
Response
HttpStatus : 200