Inbound | POST | /orders/outward/partner-code
...
This API will create outward orders in Increff Omni using the partner codes provided in the payload. One payload will create only one order and one SKU can be present only once. The number of order items in an order should not be more than 2500.
Request
Code Block | ||||
---|---|---|---|---|
| ||||
{ "parentOrderCode": "132", "locationCode": "Wid234", "orderCode": "H19304030003", "orderTime": "2020-10-16T20:22:28.000+05:30", "orderType": "SO/STO/RTV", "onHold": false, "dispatchByTime": "2020-10-16T20:22:28.000+05:30", "startProcessingTime": "2020-10-16T20:22:28.000+05:30", "paymentMethod": "COD", "isSplitRequired": false, "taxBreakupForms": [{ "channelSkuId": "sky1", "baseSellingPricePerUnit": 100.8, "taxItemForms": [{ "type": "VAT", "rate": 1.2, "taxPerUnit": 27.5 }] }], "packType": "PIECE", "qcStatus": "PASS", "partnerCode": "partnerCode", "partnerLocationCode": "partnerLocationCode", "orderItems": [{ "channelSkuCode": "100005643", "orderItemCode": "item123", "quantity": 2, "sellerDiscountPerUnit": 75, "channelDiscountPerUnit": 150, "sellingPricePerUnit": 1500, "shippingChargePerUnit": 50, "minExpiry": "2021-08-11", "giftOptions": { "giftwrapRequired": false, "giftMessage": "", "giftChargePerUnit": 0, "giftDocument": "abc", "giftDocumentFormat": "PDF" }, "orderItemCustomAttributes": { "attribute1": "Value1", "attribute2": "Value2", "attribute3": "Value3", "attribute4": "Value4", "attribute5": "Value5", "attribute6": "Value6", "attribute7": "Value7", "attribute8": "Value8", "attribute9": "Value9", "attribute10": "Value10", "channelMetadata": { "totalCashOnDeliveryFee": 0.0, "department": "HR", "paymentMethod": "ccavenue", "status": "processing" } } }, { "channelSkuCode": "100005644", "orderItemCode": "item124", "quantity": 2, "sellerDiscountPerUnit": 50, "channelDiscountPerUnit": 100, "sellingPricePerUnit": 1000, "shippingChargePerUnit": 40, "minExpiry": "2021-08-11", "giftOptions": { "giftwrapRequired": false, "giftMessage": "", "giftChargePerUnit": 0, "giftDocument": "abc", "giftDocumentFormat": "PDF" }, "orderItemCustomAttributes": { "attribute1": "Value12", "attribute2": "Value22", "attribute3": "Value32", "attribute4": "Value42", "attribute5": "Value52", "attribute6": "Value62", "attribute7": "Value72", "attribute8": "Value82", "attribute9": "Value92", "attribute10": "Value102", "channelMetadata": { "totalCashOnDeliveryFee": 0.0, "department": "HR", "paymentMethod": "ccavenue", "status": "processing" } } } ], "orderCustomAttributes": { "attribute1": "Value1", "attribute2": "Value2", "attribute3": "Value3", "attribute4": "Value4", "attribute5": "Value5", "attribute6": "Value6", "attribute7": "Value7", "attribute8": "Value8", "attribute9": "Value9", "attribute10": "Value10", "channelMetadata": { "totalCashOnDeliveryFee": 0.0, "department": "HR", "paymentMethod": "ccavenue", "status": "processing" }, "currency": "INR" } } |
...
Empty Body
HttpStatus Code
200