Pack Order API
Outbound | POST | {Client’s URL}
Summary
This API will call the client’s system to pack the order.
Description
This is a pack notification to the client system. It means the shipment is going to be packed with SKUs mentioned in the payload. In case of repeated calls shipmentId
should be considered as a repeated identifier and expected response is successful with the same response body.
Note :
Multiple shipments are allowed in case of B2B orders.
Multiple shipments are not allowed in B2C orders except in cases where Increff OMS is doing splitting and routing of the orders.
Single shipment can have multiple pack boxes.
When Increff is doing routing splitting for B2C orders, one location will have only one shipment.
Increff
shipmentId
is unique for every shipment. Client system should be able to consume Increff Shipment Id for uniqueness.There should be idempotency handled at client’s end for the pack call of a single shipment, ie: if packing in OMS is not complete although the pack call is successful, on retry, the pack call will be re-triggered. In such cases, a success response is expected.
Request
{
"orderCode": "H19304030001",
"locationCode": "l123",
"shipmentId": 120001,
"packageSku": "sku123",
"weight": 40,
"fulfillmentType": "BLOCK_COMPLETE",
"dimensions": {
"length": 12,
"breadth": 6,
"height": 8
},
"invoice": {
"fromAddress": {
"name": "sellerName",
"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"
},
"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"
},
"orderTime": "2020-10-16T20:22:28.000+00:00",
"channelName": "flipkart",
"fromPartyName": "name1",
"toPartyName": "name2",
"fromTIN": "tin1",
"toTIN": "tin2",
"panNo": "123PV99",
"invoiceItems": [{
"actualSellingPricePerUnit": 6.0,
"actualSellingPriceTotal": 12.0,
"channelSkuCode": "sku1",
"itemName": "item1",
"quantity": 2,
"taxRule": "GST",
"hsnCode": "hsn1",
"vendorSku": "vendorSku1",
"mrp": 15.0,
"brand": "brand1",
"styleCode": "style1",
"color": "white",
"size": "size1",
"category": "shirt",
"imageUrl": "www.imageUrl.com/1234"
}]
},
"packboxDetailsList": [{
"boxId": 1000001020,
"boxCode": "1000001020",
"length": 12.0,
"breadth": 6.0,
"height": 8.0,
"weight": 13.2,
"volWeight": 235.5,
"boxSkuId": "bsku_1"
},
{
"boxId": 1000001021,
"boxCode": "1000001021",
"length": 12,
"breadth": 6,
"height": 8,
"weight": 13,
"volWeight": 285.5,
"boxSkuId": "bsku_2"
}
],
"shipmentItems": [{
"channelSkuCode": "100000789701",
"orderItemCode": "item123",
"quantity": 7,
"itemCodes": [
"it1", "it2"
],
"externalSerialCodes": [
"ser1", "ser2"
],
"skuDimension": {
"length": 12,
"breadth": 6,
"height": 8,
"weight": 13
},
"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": "100000789702",
"orderItemCode": "item124",
"quantity": 5,
"itemCodes": [
"it3", "it4"
],
"externalSerialCodes": [
"ser3", "ser4"
],
"skuDimension": {
"length": 12,
"breadth": 6,
"height": 8,
"weight": 13
},
"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"
}
}
Parameter Name | Data Type | Description | Mandatory |
| String | Unique code used by the channel to identify the order. | Yes |
| String | Code used by channels to identify a warehouse | Yes |
| Long | Shipment id of Increff Omni system | Yes |
| String | SKU of the package material used for packing | No |
| Double | Weight of the package in grams | No |
| String | Enum with possible values: | No |
| Object | Dimensions of the packed shipment | No |
| Double | Length of the packing box. | No |
| Double | Breadth of the packing box. | No |
| Double | Height of the packing box. | No |
| Object | Invoice details | Yes |
| Object | Address of the Seller | No |
| String | Name of Seller | Yes |
| String | 1st line of Seller’s address | Yes |
| String | 2nd line of Seller’s address | No |
| String | 3rd line of Seller’s address | No |
| String | City of Seller | Yes |
| String | State of Seller | Yes |
| String | ZIP/Pin code of Seller | Yes |
| String | Country of Seller | Yes |
| String | Email of Seller | Yes |
| String | Phone number of Seller | No |
| 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 |
| Date | Time of the order | No |
| String | Name of the channel from which order was placed | No |
| String | Name of the seller | No |
| String | Name of the buyer | No |
| String | Seller GSTIN | No |
| String | Buyer GSTIN | No |
| String | Client’s PAN number | No |
| Object [ ] | Invoice Items | No |
| Double | Selling price per unit including tax | No |
| Double | Total selling price including tax | No |
| String | SKU code of order item | No |
| String | Name of the product | No |
| Long | Quantity of the product | No |
| String | Tax Rule for the product | No |
| String | HSN code for the product (Used for classifying the item as well as for tax calculation) | No |
| String | Client SKU code | No |
| Double | MRP of the product | No |
| String | Brand of the product | No |
| String | Style code of the product | No |
| String | Color of the product | No |
| String | Size of the product | No |
| String | Category of the product | No |
| String | Image URL of the product | No |
| Object[] | List of pack box details | No |
| Integer | Box id of a pack box | No |
| String | Box code of a pack box | No |
| Double | Length of a pack box | No |
| Double | Breadth of a pack box | No |
| Double | Height of a pack box | No |
| Double | Weight of a pack box | No |
| Double | volumetric weight of the box | No |
| String | SKU id of the box | No |
| Object[] | List of items corresponding to shipment | Yes |
| String | SKU code of order item | Yes |
| Integer | Quantity of SKU in shipment | Yes |
| String | This is provided by the channel to uniquely identify each order item. | Yes |
| String[ ] | These are the external item ids of the item | No |
| String[] | These are the external serial ids for the item | No |
| Object | Dimensions of SKU (if provided during article master creation) | No |
| Double | Length of SKU | No |
| Double | Breadth of SKU | No |
| Double | Height of SKU | No |
| Double | Weight of SKU | No |
| Object | Custom attributes for order items | 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 | This is an object of extra metadata fields which can be used in subsequent flows | No |
| Object | Custom attributes for an order | No |
| Object | This is an object of extra metadata fields which can be used in subsequent flows | No |
| String | Currency | 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 |
Response
{
"shipmentCode": "ship1234",
"transporter": "ATSIN",
"shipmentItems": [
{
"channelSkuCode": "100000789701",
"orderItemCode": "item123",
"quantity": 7,
"itemMetaData": {
"key1": "value1",
"key2": "value1"
}
},
{
"channelSkuCode": "100000789702",
"orderItemCode": "item124",
"quantity": 5,
"itemMetaData": null
}
],
"invoiceMetaData": {
"key1": "value1",
"key2": "value2"
},
"shippingLabelMetaData": {
"key1": "value1",
"key2": "value2"
}
}
HttpStatus : 200
Parameter Name | Data Type | Description | Mandatory |
| String | Unique code used by the channel to identify the shipment | Yes |
| String | Transporter name | No |
| Object[] | List of items corresponding to shipment | No |
| String | SKU code of order item | Yes (only if shipmentItems object is provided.) |
| String | This is provided by the channel to uniquely identify each order item. | Yes (only if shipmentItems object is provided.) |
| Integer | Quantity of SKU in shipment | Yes (only if shipmentItems object is provided.) |
| Object | Item level metaData which contains extra information regarding the item which can be used during shipping level generation | No |
| Object | This is map of external attributes which needs to be printed on the invoice | No |
| Object | This is map of external attributes which will be passed to logistic aggregator(CLICKPOST/SHIPROCKET) | No |