App reviews, troubleshooting, and recommendations
I'm a developer trying to build an embedded Shopify app to calculate shipping rates at checkout. For this, I need to get the package weight and measurements. Currently, the JSON payload that Shopify sends me is as follows:
But as pictured above, it's not currently sending the measurements of the package, which I require to calculate the cost. Making a quote solely based on the weight would greatly overestimate or underestimate the cost to the user's detriment, as couriers charge based on the dimensional weight. For this to work at all I understand you need to set a default saved packaging in the Admin panel, which I have set to a 30x30x30 cardboard box.
My specific queries are:
It seems very odd that I couldn't find any documentation on any the above, except for a GraphQL mutation named shippingPackageMakeDefault (shopify.dev). Any pointers would be greatly appreciated and naturally I'd like to avoid relying on third-party apps.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025