Package Dimension via GraphQL

Hello,

I have a problem with the Shopify GraphQL API. I am trying to fetch package dimensions from Merchant stores, but cannot seem to find the API that would allow me to retrieve it.

This is both for specific package dimensions on a Product and for all the packages that a Merchant has saved to their store

For the Product, I would expect it to be at the InventoryItem level, but there only the weight is present, but I need the whole suit of dimensions. And also the weight is not of the box exactly but rather what they put in. But that is less important what is important is dimensions

As for All Merchant Packages, this is something I also can’t seem to find. A merchant can add custom package sizes, and this is exactly what I want to pull into my App, but I am unable to find it.

Any help would be appreciated, if you need any more info let me know

I’m not entirely sure and you won’t like what I’m about to tell you.

but from what I know so far, only the weight can be obtained via API.

Hi @Lloyds_Digital

I can confirm there’s currently no direct API to fetch those dimensions - this is a known limitation that we’re aware of, but I can’t confirm an ETA for support.

Is there a voting system where we can push this to be prioritized? This is causing pretty big discrepancies for merchants that are using the carrier API, as carriers that charge based on volumetric weight (all international carriers) can’t return the appropriate rate in checkout (and package dimensions aren’t populated in carrier API endpoints).

This feels like oversight, as mutations are present (Shipping Packages API - mutations present, but queries missing) but it’s impossible to query.

1 Like