Outbound | POST | {Client’s URL}
Summary
This API will notify the POS system with Sales order details after the order completion in Increff system.
Description
This API will call the POS system with the details of sales orders which are completed in Increff system. This will be triggered at a certain frequency from Increff system to the POS system.
Request
{ "locationCode": "IN132", "messageId": 12345, "orderCode": "flipkart1234", "parentOrderCode": "flipkart1221", "orderTime": "2020-10-16T20:22:28.000+00:00", "orderType": "SO/STO/RTV", "paymentMethod": "COD", "isPriority": false, "channelName": "flipkart", "channelType": "ERP/MARKETPLACE", "eventType": "OUTWARD_ORDER_COMPLETE", "eventTime": "2020-10-16T20:22:28.000+00:00", "shippingCharges": 20, "virtualSkuDefinitions": [ { "virtualParentChannelSkuId": "abc1", "virtualParentBarcode": "barcode1" , "childSkus": [ { "channelSkuCode": "xyz", "qty": 2, "barcode": "bar1" }, { "channelSkuCode": "xyz1", "qty": 1, "barcode": "bar2" } ] } ], "orderItems": [ { "orderItemCode": "item123", "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 | 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 | 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 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 |
| String | Possible values : { SUBORDER_CREATE, SUBORDER_PARTICAL_CANCEL, SUBORDER_CANCEL, 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
{ "hasError": false, "errorMessage":"message" }
HttpStatus : 200