Inbound | POST | /orders/inward
...
Code Block | ||
---|---|---|
| ||
{ "parentOrderCode": "132", "orderTime": "2020-10-16T20:22:28.000+05:30", "orderType": "OPEN_PO", "orderCode": "sap123", "locationCode": "locationCode", "partnerCode": "partnerCode", "partnerLocationCode": "partnerLocationCode", "taxBreakupForms": [ { "channelSkuId": "sky1", "baseSellingPricePerUnit": 100.8, "taxItemForms": [ { "type": "VAT", "rate": 1.2, "taxPerUnit": 27.5 } ] } ], "orderItems": [ { "channelSkuCode": "tshirt134", "quantity": 500, "sellingPricePerUnit": 230.00, "orderItemCode": "item1" }, { "channelSkuCode": "jeans123", "quantity": 500, "sellingPricePerUnit": 230.00, "orderItemCode": "item2" } ] } |
Note: Please note that the Custom Order or Order Item attribute key must be added in the OMS UI using screen Custom order/ line Item Attribute, else it can result into failre of order creation in Increff OMS system.
...
Parameter Name | Data Type | Description | Mandatory |
| String | Represents code of parent order of the order | no |
| String | Time at which order got placed by customer | yes |
| String | Possible values
| yes |
| String | Unique code used by channel to identify the order | yes |
| String | Location code of the warehouse from where the order will get fulfilled | yes |
| String | This represents the partner from which order will come. If Order is of type PO/STO, this field represents vendor's code If Order is of type RO, this field represents customer’s code | yes |
| String | This represents the partner’s location from which order will come. If Order is of type PO/STO, this field represents vendor location’s code If Order is of type RO, this field represents customer location’s code | yes |
| Object[ ] | Tax break up for the items (if object is sent, all 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 |
| Object[ ] | Order Items list if order type is OPEN_PO or OPEN_RO then non mandatory else mandatory If this object is sent then all children fields must also be sent. | conditional |
| String | Channel SKUs expected to arrive | yes |
| Int | qty expected to arrive | yes |
| Double | price per unit | yes |
| String | Unique order item code of the item(This should be unique in an order) | yes |
...
Empty Body
HttpStatus Code
200
Steps to create Inward Order
...