/
Amazon Dimensions

Amazon Dimensions

Step 1. Receive recommendedDimensions Received from Amazon and Provide the same values while creating the order in WMS and the values gets saved in the Shipments table

 

Step 2. Receive Shipment Accepted Event:

{ "resource": "shipment", "eventType": "PUT", "eventSubType": "accepted", "accountSlug": "farmely", "actor": "SYSTEM", "version": "v1", "request_data": [], "response_data": { "customerOrderNumber": "9903b700-cd02-491a-a2ed-733e221fb3f4", "orderSiteID": "FBA", "vendorOrderNumber": "402-8496335-7195516", "externalShipmentID": "UG59bs4bF", "externalWarehouseID": "Gurgaon_FC", "externalChannelID": "CH2032", "externalWmsChannelName": "AMAZON_FARMELY_AGGN_2293", "external_wms_channel_id": 2293.0, "channelLabel": "Amazon", "integrationType": "8", "defaultWarehouseCode": "Gurgaon_FC", "facilityLabel": "Gurgaon (AGGN)", "facilityType": "auperator", "orderDate": "2022-10-18 14:32:24", "portal_id": 2.0, "paymentType": "Prepaid", "expectedShipDate": "2022-10-20 14:00:00", "order_id": 4.5461435E7, "channel_id": 2032.0, "warehouse_id": 650.0, "channel_account_id": 0.0, "account_id": 689.0, "connectionId": 1085.0, "locationId": "e35cab4f-eb8c-4e89-8233-ed9418c1a30f", "region": "Zonal", "isMetro": "0", "isSpecialplace": "0", "invoiceNumber": "XGNP-2030", "boxType": "UNKNOWN", "isPriorityShipment": "1", "isGift": "0", "invoice_url": "https://storage.googleapis.com/amzprime-files/invoice/UG59bs4bF-1666083793307.pdf", "invoiceDate": "2022-10-20 09:38:25", "label_url": "https://storage.googleapis.com/eshopbox_wms_uploads/amazon-sc-labels/202210200938391026134305.pdf", "shippingInfo": { "carrierName": "ATS", "carrierPickupWindow": { "endTimestamp": 1.6662546E12, "startTimestamp": 1.6662546E12 }, "trackingId": "157490202312" }, "boxAdditionalRecommendation": { "shippingType": "MARKETPLACE", "channelName": "FBA", "shippingModel": "FBA" }, "dimension_length": "7", "dimension_width": "16", "dimension_height": "26", "weight": "1020", "trackingID": "157490202312", "trackingDomain": "", "packageID": "1", "barcode": "", "taxAmount": 20.24, "shipChargeAmount": 0.0, "courierName": "ATS", "cp_id": 0.0, "created_at": "2022-10-18 14:32:41", "updated_at": "2022-10-20 09:38:41", "status": "packed", "remarks": "", "warehousePincode": "122503", "thirdPartyShipping": true, "customerName": "xyz", "customerContactNumber": "0000000000", "email": "xyz@test.com", "status_updated_at": "2022-10-20 09:38:41", "status_log": { "created": "2022-10-18 14:32:42", "accepted": "2022-10-18 14:33:06", "picked": "2022-10-19 18:34:56", "packed": "2022-10-20 09:38:41" }, "status_log_first_occurrence": { "packed": "2022-10-20 09:38:41", "picked": "2022-10-19 18:34:56", "accepted": "2022-10-18 14:33:06", "created": "2022-10-18 14:32:42" }, "status_log_count": { "created": 1.0, "accepted": 1.0, "picked": 1.0, "packed": 1.0 }, "status_log_id": "100162304", "orderExternalCreatedAt": "2022-10-18 14:32:35", "shippingAddress": { "customerName": "xyz", "addressLine1": "Test Address", "addressLine2": "", "city": "dehradun", "state": "UTTARAKHAND", "postalCode": "248009", "countryCode": "IN", "countryName": "India", "contactPhone": "0000000000", "email": "xyz@test.com" }, "warehouseAddress": { "addressLine1": "MJ Logistics Private Limited, Seabird Marine Services Pvt Ltd", "addressLine2": "Village Babra Bakirpur, Pataudi Road Near Adani Logistic Park, ICD Patli, Gurgaon, Haryana(122503)", "city": "Gurgaon", "state": "Haryana", "postalCode": "122503", "gstin": "06AAFCB0498R2Z2" }, "id": 1.3500202E7, "isCOD": "0", "track_payload": [], "packed_date": "2022-10-20 09:38:41", "items": [ { "order_item_id": 2.6856433E7, "lineItemSequenceNumber": 1.0, "orderItemID": "UG59bs4bF-26856433", "itemID": "Selecta-Green-Raisin-Long-1kg", "sku": "21LCC3GZ58Z", "asin": "", "productName": "testProduct", "quantity": 1.0, "orderItemCreatedAt": "2022-10-18 14:32:35", "customerPrice": 425.0, "lineItemTotal": 425.0, "invoiceTotal": 425.0, "cashOnDeliveryCharges": 0.0, "discount": 0.0, "taxRate": 0.0, "taxAmount": 0.0, "inventoryItemCode": "", "giftMessage": "", "giftLabelContent": "", "lineItemOrderStatus": "", "orderItemIDs": [ "UG59bs4bF-26856433" ], "productImageUrl": "https://i.postimg.cc/NFG0NK23/Selecta-Raisin-FOP-1-kg.jpg", "shippingCharges": 0.0, "isVirtualKit": "0", "onhold": "0", "cancellationAdditionalReason": "", "cancellationReason": "", "customerOrderItemID": "1", "recallBlockedInventoryUsed": "" } ] }, "previous_data": [], "resource_type": "shipment.update", "account_slug": "farmely", "custom": [] }

 

 

Step 3. Extract the following keys from the event that will be used to create a package on amazon:

  • dimension_width

  • dimension_height

  • dimension_length

  • weight

 

Step 4. Once the Real-time API request comes to generate Ship Label and Retrieve Pick Up Slot doesn’t provide successful response, we try Updating Dimensions using the following values to retry.

Keys

Values

Keys

Values

dimension_width

20

dimension_height

20

dimension_length

20

weight

200

 

Related content