Create Outward Order API (Beta)
Inbound | POST | /orders/outward
Summary
This API is used to create new outward orders in Increff Omni.
Description
This API will create outward orders in Increff Omni. 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.
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 failure of order creation in Increff OMS system.
In cases where the Custom order attribute key is not defined and custom order or order item attributes are part of the Inward/Outward order creation payloads then the order would move to FAILED
status in CIMS.
Request
{
"parentOrderCode": "PARENT-ORD-789",
"locationCode": "WAREHOUSE-001",
"orderCode": "ORD-123456",
"orderTime": "2024-02-13T09:45:00Z",
"orderType": "PO",
"onHold": false,
"isPriority": true,
"gift": true,
"qcStatus": "PASS",
"dispatchByTime": "2024-02-15T14:30:00Z",
"startProcessingTime": "2024-02-13T10:00:00Z",
"paymentMethod": "COD",
"shippingAddress": {
"name": "Jane Smith",
"line1": "456 Oak Street",
"line2": "Suite 789",
"line3": "Tower D",
"phone": "+1-555-987-6543",
"email": "jane.smith@example.com",
"city": "Gotham",
"state": "NY",
"zip": "10001",
"country": "United States"
},
"billingAddress": {
"name": "John Doe",
"line1": "123 Main Street",
"line2": "Apt 456",
"line3": "Building C",
"phone": "+1-555-123-4567",
"email": "john.doe@example.com",
"city": "Metropolis",
"state": "CA",
"zip": "90001",
"country": "United States"
},
"orderItems": [
{
"channelSkuCode": "SKU-001",
"orderItemCode": "ITEM-001",
"quantity": 2,
"sellerDiscountPerUnit": 3.00,
"channelDiscountPerUnit": 5.00,
"sellingPricePerUnit": 20.00,
"shippingChargePerUnit": 8.00,
"giftOptions": {
"giftwrapRequired": true,
"giftMessage": "Happy Birthday!",
"giftChargePerUnit": 2.50,
"giftDocument": "gift_document.pdf",
"giftDocumentFormat": "PDF"
},
"minExpiry": "2025-01-01",
"orderItemCustomAttributes": {
"attribute1": "value1",
"attribute2": "value2",
"attribute3": "value3",
"attribute4": "value4",
"attribute5": "value5",
"attribute6": "value6",
"attribute7": "value7",
"attribute8": "value8",
"attribute9": "value9",
"attribute10": "value10",
"channelMetadata": {"key" : "value"}
}
}
],
"taxBreakupForms": [
{
"channelSkuId": "SKU-001",
"baseSellingPricePerUnit": 25.00,
"taxItemForms": [
{
"type": "VAT",
"rate": 8.5,
"taxPerUnit": 2.13
}
]
}
],
"packType": "PIECE",
"isSplitRequired": true,
"orderCustomAttributes": {
"attribute1": "value1",
"attribute2": "value2",
"attribute3": "value3",
"attribute4": "value4",
"attribute5": "value5",
"attribute6": "value6",
"attribute7": "value7",
"attribute8": "value8",
"attribute9": "value9",
"attribute10": "value10",
"channelMetadata": {},
"currency": "USD"
}
}
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 Note: Location code must be provided in case the isSplitRequired field is false | No |
| String | Unique code used by channel to identify the order | Yes |
| String | Time at which order got placed by customer | Yes |
| String | Possible values →
| Yes |
| Boolean | This flag is true in case order is having 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 |
| Boolean | This flag is true when WMS has to split the order. If this variable is TRUE , then LocationCode should be send as NULL | No |
| Object[ ] | Tax break up for the items (if this is sent, all the fields of the object should be sent) | No |
| String | Unique code to identify SKU on channel | Yes |
| Double | Base selling price per unit of the SKU | Yes |
| Object[ ] | Distribution of tax with tax type | No |
| 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 will be PASS | Yes |
| Object | Shipping address of the customer | Yes |
| String | Name of customer | No |
| String | 1st line of customer’s address | No |
| String | 2nd line of customer’s address | No |
| String | 3rd line of customer’s address | No |
| String | City of customer | No |
| String | State of customer | No |
| 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 | No |
| String | 1st line of customer’s address | No |
| String | 2nd line of customer’s address | No |
| String | 3rd line of customer’s address | No |
| String | City of customer | No |
| String | State of customer | No |
| String | ZIP/Pin code of customer | Yes |
| String | Country of customer | Yes |
| String | Email of customer | No |
| String | Phone Number of customer | No |
| Object[] | List of items for which order is being placed | Yes |
| String | SKU code of order item on channel | 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 |
| Object | Custom attributes for an 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 |
orderItemCustomAttributes.channelMetaData | Object | These are additonal fields which can be sent to Increff system and can be used in subsequent Posting workflows | No |
| Object | Custom attributes for an 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 |
| Object | These are additonal fields which can be sent to Increff system and can be used in subsequent Posting workflows | No |
| String | Currency | No |
Response
Empty Body
HttpStatusCode
200