/
Flipkart Dimensions
Flipkart Dimensions
Step 1. While creating the order of Flipkart into Eshopbox we send following Payload to Create Order:
{
"externalChannelID": "CH1238",
"customerOrderNumber": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"shipMethod": "STD",
"orderDate": "2023-02-01 15:36:55",
"expectedShipDate": "2023-02-02T16:00:00.000+05:30",
"promiseDeliveryDate": "2023-02-03 15:36:55",
"isCOD": "1",
"paymentType": "COD",
"taxAmount": 0,
"shipChargeAmount": 0,
"subtotal": 1169.0,
"orderTotal": 1169.0,
"balanceDue": 1169.0,
"thirdPartyShipping": true,
"onHold": "1",
"vendorOrderNumber": "OD427210133094106100",
"orderStatus": "onhold",
"dimension_length": null,
"dimension_width": null,
"dimension_height": null,
"weight": null,
"packageID": "SS-1",
"externalWarehouseID": "Gurgaon_FC",
"dispatchAfterDate": "2023-02-01T18:01:00.000+05:30",
"suggestedTrackingNumber": "FMPC2509615849",
"suggestedCourierName": "E-Kart Logistics",
"shippingAddress": {
"customerName": "Ratna",
"addressLine1": "146 shibnarain pur",
"addressLine2": "Katigorah",
"city": "Niz Katigorah Pt 3",
"postalCode": "788804",
"countryCode": "IN",
"countryName": "India",
"contactPhone": "9999999999",
"email": "xyz@gmail.com",
"state": "Assam"
},
"billingAddress": {
"customerName": "Ratna",
"addressLine1": "146 shibnarain pur",
"addressLine2": "Katigorah",
"city": "Niz Katigorah Pt 3",
"postalCode": "788804",
"countryCode": "IN",
"countryName": "India",
"contactPhone": "9999999999",
"email": "xyz@gmail.com",
"state": "Assam"
},
"items": [
{
"lineItemSequenceNumber": "427210133094106100",
"status": "ONHOLD",
"quantity": 1,
"asin": null,
"sku": null,
"itemID": "PSLFUZVFCHHHHM8H",
"productName": "OZiva Superfood Plant Protein (with Vitaminsu0026Minerals) for Better Digestion,Coco Vanilla Plant-Based Protein PP01CV02 500",
"dispatchAfterDate": "2023-02-01T18:01:00.000+05:30",
"lineItemOrderStatus": "CREATED",
"productAdditionalInfo": {
"breadth": 12.0,
"length": 12.0,
"weight": 0.5,
"height": 17.0
},
"mrp": 1169.0,
"lineItemTotal": 1169.0,
"shippingCharges": 0.0,
"customerPrice": 1169.0,
"discount": 0.0,
"externalWarehouseID": "Gurgaon_FC"
}
]
}
Step 2. Now once we receive the Shipment Picked Event, it is shown as below:
{
"resource": "shipment",
"eventType": "PUT",
"eventSubType": "picked",
"accountSlug": "eshop",
"actor": "SYSTEM",
"version": "v1",
"request_data": [],
"response_data": {
"customerOrderNumber": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"orderSiteID": "",
"vendorOrderNumber": "OD427210133094106100",
"externalShipmentID": "OD427210133094106100-1238-333",
"externalWarehouseID": "OZiva_DL",
"externalChannelID": "CH1238",
"externalWmsChannelName": "FLIPKART_OZIVA_ESHOP_AGGN_2462",
"external_wms_channel_id": 2462.0,
"channelLabel": "Flipkart",
"integrationType": "6",
"defaultWarehouseCode": "OZiva_DL",
"facilityLabel": "Gurgaon (GGGN)",
"facilityType": "unicommerce",
"orderDate": "2023-02-01 15:36:55",
"portal_id": 1.0,
"paymentType": "COD",
"expectedShipDate": "2023-02-02 16:00:00",
"dispatchAfterDate": "2023-02-01 18:01:00",
"order_id": 4.7023438E7,
"channel_id": 1238.0,
"warehouse_id": 81.0,
"channel_account_id": 0.0,
"account_id": 5.0,
"connectionId": 403.0,
"locationId": "LOC62a30c1d159845e09dfeef303f52cfb9",
"region": "",
"isMetro": "0",
"isSpecialplace": "1",
"invoiceNumber": "",
"boxType": "UNKNOWN",
"isPriorityShipment": "0",
"isGift": "0",
"invoice_url": "",
"label_url": "",
"labels": "",
"shippingInfo": [],
"boxAdditionalRecommendation": [],
"dimension_length": "20",
"dimension_width": "10",
"dimension_height": "10",
"weight": "500",
"trackingID": "FMPC2509615849",
"trackingDomain": "",
"packageID": "",
"barcode": "",
"taxAmount": 0.0,
"shipChargeAmount": 0.0,
"courierName": "",
"cp_id": 0.0,
"created_at": "2023-02-01 15:40:26",
"updated_at": "2023-02-01 15:40:37",
"status": "picked",
"remarks": "",
"warehousePincode": "122503",
"thirdPartyShipping": true,
"customerName": "Ratna",
"customerContactNumber": "9999999999",
"email": "xyz@gmail.com",
"status_updated_at": "2023-02-01 15:40:26",
"status_log": {
"created": "2023-02-01 15:40:26"
},
"status_log_first_occurrence": {
"created": "2023-02-01 15:40:26"
},
"status_log_count": {
"created": 1.0
},
"status_log_id": "111165333",
"orderExternalCreatedAt": "2023-02-01 15:40:22",
"shippingAddress": {
"customerName": "Ratna",
"addressLine1": "146 shibnarain pur",
"addressLine2": "Katigorah",
"city": "Niz Katigorah Pt 3",
"state": "Assam",
"postalCode": "788804",
"countryCode": "IN",
"countryName": "India",
"contactPhone": "9999999999",
"email": "xyz@gmail.com"
},
"warehouseAddress": {
"addressLine1": "MJ Logistics Private Limited, Seabird Marine services Pvt Ltd Village Babra Bakirpur",
"addressLine2": "Pataudi Road Near Adani Logistic Park, ICD Patli",
"city": "Gurgaon",
"state": "Haryana",
"postalCode": "122503",
"gstin": "06AAACZ6880E1Z5"
},
"id": 1.5103336E7,
"isCOD": "1",
"track_payload": [],
"items": [
{
"order_item_id": 2.8837917E7,
"lineItemSequenceNumber": "427210133094106100",
"orderItemID": "427210133094106100-28837917",
"itemID": "PSLFUZVFCHHHHM8H",
"sku": "005A63GGZL1",
"asin": "",
"productName": "OZiva Superfood Plant Protein (with Vitamins\u0026Minerals) for Better Digestion,Coco Vanilla Plant-Based Protein PP01CV02 500",
"quantity": 1.0,
"orderItemCreatedAt": "2023-02-01 15:40:22",
"customerPrice": 1169.0,
"lineItemTotal": 1169.0,
"invoiceTotal": 1169.0,
"cashOnDeliveryCharges": 0.0,
"discount": 0.0,
"taxRate": 0.0,
"taxAmount": 0.0,
"inventoryItemCode": "",
"giftMessage": "",
"isGift": "0",
"giftLabelContent": "",
"lineItemOrderStatus": "created",
"orderItemIDs": [
"427210133094106100-28837917"
],
"productImageUrl": "https://cdn.filestackcontent.com/j3RgzqJQryaH99yuVogQ",
"productAdditionalInfo": {
"breadth": 12.0,
"length": 12.0,
"weight": 0.5,
"height": 17.0
},
"shippingCharges": 0.0,
"isVirtualKit": "0",
"component": [],
"onhold": "0",
"cancellationAdditionalReason": "",
"cancellationReason": "",
"customerOrderItemID": "",
"recallBlockedInventoryUsed": ""
}
],
"statusMovedTo": "unhold"
},
"previous_data": [],
"resource_type": "shipment.update",
"account_slug": "eshop",
"custom": []
}
Step 3. Pick the response_data.dimensions and weight and prepare the following Request:
POST API:
https://api.flipkart.net/sellers/v3/shipments/labels
Request Body:
{
"shipments": [
{
"taxItems": [
{
"taxRate": 12,
"quantity": 1,
"orderItemId": "427210133094106100"
}
],
"invoices": [
{
"orderId": "OD427210133094106100",
"invoiceDate": "2023-02-01"
}
],
"locationId": "LOC62a30c1d159845e09dfeef303f52cfb9",
"shipmentId": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"subShipments": [
{
"subShipmentId": "SS-1",
"dimensions": {
"breadth": 10.0,
"length": 20.0,
"weight": 0.5,
"height": 10.0
}
}
]
}
]
}
Response:
{
"shipments": [
{
"shipmentId": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"errorMessage": "Shipping package size(LBHW) cannot be less than the packaging dimensions mentioned in My Listings tab at the time of order placement",
"errorCode": "INVALID_PACKAGE_DIMENSION",
"status": "failure"
}
]
}
Step 4. Call GET SHIPMENT API to check what are the dimensions on Flipkart
GET API:
https://api.flipkart.net/sellers/v3/shipments?shipmentIds=265a8a27-7fad-4c8f-8bec-10d16b7492cb
Response:
{
"shipments": [
{
"mps": false,
"shipmentId": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"locationId": "LOC62a30c1d159845e09dfeef303f52cfb9",
"dispatchByDate": "2023-02-02T16:00:00.000+05:30",
"packagingPolicy": "DEFAULT",
"orderItems": [
{
"fsn": "PSLFUZVFCHHHHM8H",
"hsn": "21069099",
"quantity": 1.0,
"orderId": "OD427210133094106100",
"orderItemId": "427210133094106100",
"listingId": "LSTPSLFUZVFCHHHHM8HLMRVYK",
"title": "OZiva Superfood Plant Protein (with Vitamins\u0026Minerals) for Better Digestion,Coco Vanilla Plant-Based Protein PP01CV02 500",
"priceComponents": {
"sellingPrice": 1169.0,
"totalPrice": 1169.0,
"shippingCharge": 0.0,
"customerPrice": 1169.0,
"flipkartDiscount": 0.0
},
"packageIds": [
"PKGPSLFUZVFCHHHHM8HLMRVYK"
],
"paymentType": "COD",
"is_replacement": false,
"serviceProfile": "Seller_Fulfilment",
"cancellationGroupId": "grp427210133094106100",
"sku": "005A63GGZL1",
"orderDate": "2023-02-01T15:36:55.941+05:30",
"status": "APPROVED"
}
],
"dispatchAfterDate": "2023-02-01T18:01:00.000+05:30",
"subShipments": [
{
"subShipmentId": "SS-1",
"packages": [
{
"packageId": "PKGPSLFUZVFCHHHHM8HLMRVYK",
"packageSku": "005A63GGZL1",
"dimensions": {
"breadth": 12.0,
"length": 12.0,
"weight": 0.5,
"height": 17.0
}
}
]
}
],
"forms": [],
"updatedAt": "2023-02-01T15:38:25.000+05:30",
"hold": false,
"shipmentType": "NORMAL"
}
]
}
Step 5. Now pick the subShipments[].packages[].dimensions
which are shown above in the document and use it to prepare another Packaging in Progress
Request Body
New Request Body:
{
"shipments": [
{
"taxItems": [
{
"taxRate": 12,
"quantity": 1,
"orderItemId": "427210133094106100"
}
],
"invoices": [
{
"orderId": "OD427210133094106100",
"invoiceDate": "2023-02-01"
}
],
"locationId": "LOC62a30c1d159845e09dfeef303f52cfb9",
"shipmentId": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"subShipments": [
{
"subShipmentId": "SS-1",
"dimensions": {
"breadth": 12.0,
"length": 12.0,
"weight": 0.5,
"height": 17.0
}
}
]
}
]
}
Response:
{
"shipments": [
{
"shipmentId": "265a8a27-7fad-4c8f-8bec-10d16b7492cb",
"status": "SUCCESS"
}
]
}
Result: Using the Flipkart dimensions, the order got successfully marked as Packaging in Progress
and status will move from Approved
to Packed
, multiple selections available,
Related content
Flipkart Sample - Packaging In Progress - Dimensions Issues
Flipkart Sample - Packaging In Progress - Dimensions Issues
More like this
Flipkart App (API'S)
Flipkart App (API'S)
More like this
Amazon Dimensions
Amazon Dimensions
More like this
FLIPKART_PACKAGING_IN_PROGRESS ERRORS RCA
FLIPKART_PACKAGING_IN_PROGRESS ERRORS RCA
More like this
Flipkart Order Fulfillment Sequence Diagram
Flipkart Order Fulfillment Sequence Diagram
More like this
FlipKart Notification Implementation for Create Order
FlipKart Notification Implementation for Create Order
More like this