Get variant's shipping package ID

There seems to be no way to get the shipping package ID from the measurement object on a variant’sinventoryItem.

Yet, now it’s possible to edit the shipping profile ID:

https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate#arguments-variants.fields.inventoryItem.measurement.shippingPackageId

It would be great to have the query as well.

Similar to this post, but with different fields

1 Like

Hi @DavidT You’re right - there’s currently no way to query the shippingPackageId back from the InventoryItemMeasurement object, even though you can set it via productVariantsBulkUpdate.

I’ve submitted this as a feature request on your behalf internally. The more a specific feature is requested by our merchants and partners, the more likely it is to be considered for future development by our product teams so hopefully this isn’t too far away - thanks for flagging!

1 Like