Outbound | POST | {Client’s URL}
Summary
This API will notify call the POS system pos with Sales sales order details after the order completion in Increff system.
Description
This API will call the POS system pos with the details of sales orders which are completed in Increff systemOmni. This will be triggered at a certain frequency from Increff system Omni to the POS systemchannels.
Postings can be sent on below triggers
SUBORDEROUTWARD_ORDER_CREATE
SUBORDEROUTWARD_ORDER_CANCELSUBORDER
OUTWARD_COMPLETESUBORDERORDER_PARTIAL_CANCEL
OUTWARD_ORDER_SHIPMENT_DISPATCH
OUTWARD_ORDER_SHIPMENT_DELIVER
OUTWARD_ORDER_COMPLETE
Request
Code Block | ||
---|---|---|
| ||
{ "billingAddresslocationCode": {"IN132", "messageId": 12345, "cityorderCode": "Bangaloreflipkart1234", "parentOrderCode": "flipkart1221", "countryorderTime": "IN2020-10-16T20:22:28.000+00:00", "orderType": "SO/STO/RTV", "emailpaymentMethod": "ad******@gmail.comCOD", "isPriority": false, "line1channelName": "flipkart"Shanti Nagar Kent, "channelType": "ERP/MARKETPLACE", "eventType": "OUTWARD_ORDER_COMPLETE", "line2eventTime": "South vihar colony","2020-10-16T20:22:28.000+00:00", "shippingCharges": 20, "orderCustomAttributes": { "line3attribute1": "stringtest_4e10f67e0585", "nameattribute10": "Abhinav Singh",test_e3af29b52cda", "attribute2": "test_df7f45161dbf", "phoneattribute3": "98******78test_511554245071", "stateattribute4": "KARNATAKAtest_285ab90a9a26", "zipattribute5": "560102"test_c9902353bd62", }, "channelNameattribute6": "NYKAAtest_29bf877ad20e", "channelTypeattribute7": "ERPtest_f05c5ee7bda0", "createdAtattribute9": "23-08-2023T12:07:18",test_913b35f805f0", "credentialschannelMetadata": {}, "eventTimeMetaDataTestExample1": "23-08-2023T12:09:18",test_13669a9d0d24", "eventTypeMetaDataTestExample2": "SUBORDERtest_CANCEL",13669a9d0d25" }, "isPriority": true, "locationCodecurrency": "1120004561"test_ad35da54ae2f" }, "messageIdvirtualSkuDefinitions": 786651,[ { "omsSubOrderIdvirtualParentChannelSkuId": 128876"abc1", "orderCodevirtualParentBarcode": "NYK-128839-1992barcode1", "orderTimechildSkus": [ { "channelSkuCode"23-08-2023T12:06:18",: "xyz", "orderTypeqty": "SALES",2, "parentOrderCodebarcode": "NYK-128839-1992", "paymentMethodbar1" }, { "channelSkuCode": "CODxyz1", "shippingAddress": { "qty": 1, "citybarcode": "Bangalore",bar2" } ] } ], "bundledSkuDefinitions": [ "country{ "bundledParentBarcode": "INstring", "emailbundledParentChannelSkuId": "ad******@gmail.comstring", "line1childSkus": "Shanti Nagar Kent", [ { "line2barcode": "South vihar colony","string", "line3channelSkuCode": "string", "name": "Abhinav Singh", "qty": 0 } ] } ], "orderItems": [ { "phoneorderItemCode": "98******78item123", "statechannelSkuCode": "KARNATAKA1000889888", "ziporderedQuantity": 2, "560102cancelledQuantity": 1, }, "shippingChargeschannelDiscount": 050, "subOrderItemssellingPricePerUnit": 500, [ {"giftChargePerUnit": 10, "barcodesellerDiscount": "BAR00091"5, "cancelledQuantityshippingCharge": 0, "channelDiscountorderItemCustomAttributes": 23.0, { "channelSkuCodeattribute1": "BAR00091test_9500ccd4855f", "fulfilledQuantity "attribute10": 1,"test_1e7511fe9fc8", "giftChargePerUnitattribute2": 0,"test_957207fbdbb0", "hoppedQuantity "attribute3": 0,"test_e9c4494fc055", "omsSubOrderItemIdattribute4": 16624"test_2c6670838f48", "orderItemCodes": [ "attribute5": "test_09156554f500", "attribute6": "ITEM001"test_20ab8d00c447", ], "orderedQuantityattribute7": 1,"test_f0c3e77287ae", "sellerDiscountattribute9": 0,"test_691c1f899bb8", "sellingPricePerUnitchannelMetadata": 1200,{ "shippingChargeMetaDataTestExample1": 0,"test_13669a9d0d24", "externalItemCodesMetaDataTestExample2": [ "test_13669a9d0d25" "BAR00091" } ] } } ], "turnAroundTimeshippingAddress": { "name"23-10-2023T12:09:08: "Customer's Name", "virtualSkuDefinitionsline1": [ "Line Address 1", { "line2": "Line Address 2", "childSkusline3": [ "Line Address 3", "city": "city", {"state": "state", "zip": "zip", "barcodecountry": "BAR00091country", "email": "abc@gmail.com", "channelSkuCodephone": "BAR000919999999999" }, "billingAddress": { "name": "customer", "qtyline1": "address line 1", "line2": "address line 2", } "line3": "address line ]3", "city": "Bengaluru", "virtualParentBarcodestate": "BAR00091Karnataka", "zip": "560076", "virtualParentChannelSkuId "country": "INDIA", "email": "BAR00091abc@gmail.com", } "phone": "9999999999" ]} } |
...
Parameter Name | Data Type | Description | Mandatory |
billingAddress
Object of type address
Billing Address
yes
billingAddress.city
String
City name
yes
billingAddress.country
String
Country Name
yes
billingAddress.email
String
yes
billingAddress.line1
String
address line 1
yes
billingAddress.line2
String
address line 2
no
billingAddress.lone3
String
address line 3
no
billingAddress.name
String
Name
yes
billingAddress.state
String
state name
yes
billingAddress.zip
String
zip code
yes
billingAddress.phone
String
phone number
yes
channelName
String
channel name
yes
channelType
“ERP”
channel type
yes
createdAt
String
created at time
yes
credentials
list of credentials
credentials
no
eventTime
String
time of the event
yes
eventType
String
Postings can be sent on below triggers
SUBORDER_CREATE (creation of sub order)
SUBORDER_CANCEL (cancellation of sub order)
SUBORDER_COMPLETE (completion of suborder)
SUBORDER_PARTIAL_CANCEL (partial cancellation of suborder)
yes
orderType
String
Can be - SO(Sales Order)/STO(Stock Transfer Order)/RTV(Return To Vendor), RPO(Replacement)
yes
isPriority
Boolean
Flag to identify wether an order is of priority or not
yes
locationCode
String
Warehouse location from which order was fulfilled
yes
messageId
Long
Unique Identifier of a notification (for De-duplication)
yes
omsSubOrderId
Long
Internal sub order id of OMS
yes
orderCode
String
order code from channel
yes
parentOrderCode
String
parent order code from channel
no
paymentMethod
String
possible values- COD/NCOD
yes
shippingAddress
Object of type Address
Address
yes
shippingAddress.city
String
City name
yes
shippingAddress.country
String
Country name
yes
shippingAddress.line1
String
address line 1
yes
shippingAddress.line2
String
address line 2
no
shippingAddress.line3
String
address line 3
no
shippingAddress.name
String
name
yes
shippingAddress.state
String
state name
yes
shippingAddress.zip
String
pin code
yes
shippingAddress.email
String
email address
yes
shippingAddress.phone
String
phone nymber
yes
shippingCharges
Double
Shipping charge
no
subOrderItems
yes
subOrderItems.barcode
String
barcode
yes
subOrderItems
.cancelledQuantity
Integer
cancelled quantity
yes
subOrderItems.channelDiscount
Double
discount from the channel
no
subOrderItems.channelSkuCode
String
Sku Code on channel side
yes
subOrderItems.fulfilledQuantity
Long
fulfilled quantity
yes
subOrderItems.giftChargePerUnit
Double
giftChargePerUnit
no
subOrderItems.hoppedQuantity
Long
hoppedQuantity
yes
subOrderItems.omsSubOrderItemId
Long
sub order item id in oms
yes
subOrderItems.orderItemCodes
List<String>
list of order item codes
yes
subOrderItems.orderedQuantity
Long
ordered quantity
yes
subOrderItems.sellerDiscount
Double
seller discount
no
subOrderItems.sellingPricePerUnit
Double
selling price per item
no
subOrderItems.shippingCharge
Double
shipping charde
no
subOrderItems.externalItemCodes
List of String
list of item codes
no
turnAroundTime
String
turn around time
no
virtualSkuDefinitions
no
virtualSkuDefinitions.childSkus
List
List of child skus
no
virtualSkuDefinitions.virtualParentBarcode
String
Virtual Parent barcode
no
virtualSkuDefinitions.virtualParentChannelSkuId
String
Virtual Parent channel SKU id
yes
virtualSkuDefinitions.childSkus.barcode
String
barcode
no
virtualSkuDefinitions.childSkus.qty
Integer
quantity
no
virtualSkuDefinitions.childSkus.channelSkuCode
String
| 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 | Type of the channel.Possible values: ERP/MARKETPLACE | yes |
| String | Time at which order was placed at the channel in UNIX (UTC) | yes |
| String | Can be - SO(Sales Order)/STO(Stock Transfer Order)/RTV(Return To Vendor), RPO(Replacement) | 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 |
| 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 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 |
| 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 |
| Object[] | List of order items | yes |
| String | This is provided by the channel to uniquely identify each order item. | yes |
| String | SKU code of order item | yes |
| int | Ordered Quantity | yes |
| int | 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_PARTICAL_CANCEL, SUBORDER_CANCEL, OUTWARD_ORDER_SHIPMENT_DISPATCH, OUTWARD_ORDER_SHIPMENT_DELIVER, SUBORDER_COMPLETE} | yes |
| String | Time of event creation | 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 |
Response
Code Block | ||
---|---|---|
| ||
{ "hasError": false, "errorMessage":"message" } |
...
HttpStatus : 200