Inbound | POST | /orders/outward
...
Request
Code Block | ||
---|---|---|
| ||
{ "parentOrderCode": "132", "locationCode": "Wid234", "orderCode": "H19304030003", "orderTime": "2020-10-16T20:22:28.000+05:30", "orderType": "SO/STO/RTV/RPO", "isPriority": false, "gift": false, "onHold": false, "qcStatus": "PASS/FAIL", "dispatchByTime": "2020-10-16T20:22:28.000+05:30", "startProcessingTime": "2020-10-16T20:22:28.000+05:30", "paymentMethod": "COD", “taxBreakupForms”:[ "taxBreakupForms": [ { “channelSkuId”:”sky1”"channelSkuId": "sky1", “baseSellingPricePerUnit”:"baseSellingPricePerUnit": 100.8, “taxItemForms”:[ "taxItemForms": [ { “type”:””"type": "CGST", “rate”:"rate": 1.2, “taxPerUnit”:"taxPerUnit": 27.5 } ] } ], “packType”:”PIECE/BULK”, "packType": "PIECE", "shippingAddress": { "name": "customerName", "line1": "address line 1", "line2": "address line 2", "line3": "address line 3", "city": "Bengaluru", "state": "Karnataka", "zip": "560076", "country": "INDIA", "email": "email.com", "phone": "9999999999" }, "billingAddress": { "name": "customerName", "line1": "address line 1", "line2": "address line 2", "line3": "address line 3", "city": "Bengaluru", "state": "Karnataka", "zip": "560076", "country": "INDIA", "email": "email.com", "phone": "9999999999" }, "orderItems": [ { "channelSkuCode": "100005643", "orderItemCode": "item123", "quantity": 2, "sellerDiscountPerUnit": 75.0, "channelDiscountPerUnit": 150.0, "sellingPricePerUnit": 1500.0, "shippingChargePerUnit": 50.0, "minExpiry": "2021-08-11", "giftOptions": { "giftwrapRequired": false, "giftMessage": "", "giftChargePerUnit": 0, “giftDocument”:”abc”"giftDocument": "abc", “giftDocumentFormat”:”PDF” "giftDocumentFormat": "PDF" } }, { "channelSkuCode": "100005644", "orderItemCode": "item124", "quantity": 2, "sellerDiscountPerUnit": 50.0, "channelDiscountPerUnit": 100.0, "sellingPricePerUnit": 1000.0, "shippingChargePerUnit": 50.0, "minExpiry": "2021-08-11", "giftOptions": { "giftwrapRequired": false, "giftMessage": "", "giftChargePerUnit": 0, “giftDocument”:”abc”, "giftDocument": "abc", “giftDocumentFormat”:”PDF” "giftDocumentFormat": "PDF" } } } ] } |
Parameter Name | Data Type | Description | Mandatory |
| String | Represents code of parent order of the order | no |
| String | Location code of warehouse from where this order will get fulfilled | yes |
| String | Unique code used by channel to identify the order | yes |
| String | Time at which order got placed by customer | yes |
| String | Possible value - SO (Sales Order), STO (Stock Transfer Order), RTV (Return To Vendor), RPO(Replacement) | yes |
| Boolean | This flag is true in case order is HIGH priority than normal orders. | no |
| Boolean | This flag is true in case order is a gift and needs to be gift wrapped. | no |
| Boolean | This flag is true in case order has to be kept on hold. Processing starts only after call is made to unhold the order | yes |
| String | Time by which the order is expected to get dispatched | yes |
| String | Time by which the order processing is expected to get started | yes |
| String | Possible values - COD, NCOD | yes |
| Object[ ] | Tax break up for the items(if this is sent, al the fields of the object should be sent) | no |
| String | Channel Sku id | yes |
| Double | Base selling price per unit of the Sku | yes |
| Object[ ] | Distribution of tax with tax type | yes |
| String | Type of tax applicable | yes |
| Double | Tax rate for this tax type | yes |
| Double | Tax applicable for this type of tax per unit | yes |
| String | Possible values - PIECE/BULK | no |
| String | Possible values - PASS, FAIL By default value : PASS | 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 | yes |
| 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 | yes |
| String | Phone Number of customer | no |
| Object[] | List of items for which order is being placed | yes |
| String | SKU code of order item | yes |
| String | This is provided by the channel to uniquely identify each order item. | yes |
| Integer | Quantity of SKU in the order placed | yes |
| Double | Discount given by seller on SKU per unit | no |
| Double | Discount given by channel on SKU per unit | no |
| Double | Unit price of SKU including tax | yes |
| Double | Shipping charge on item per unit | no |
| String | Minimum expiry date for the item to be shipped | no |
| Object | Contains gift details of the item | no |
| Boolean | To specify if gift wrap is required | yes |
| String | Gift message | no |
| Double | Gift charge on item per unit | no |
| String | Base64 encoded string | no |
| String | Possible values PDF, ZPL,PNG. To be populated if document is present | no |
...
Response
Empty Body
HttpStatusCode
200