Missing Field measurement in the `ProductSet` mutation path

Since we have to migrate from the REST API to the new GraphQL API, we are still facing one big problem:

In the REST API, we could provide weight & weight_unit in the variations array along with a product. If I try to do the same with GraphQL’s ProductSet mutation path, there is an error.

this makes sense, as the measurement field is not available in the ProductSet mutation path.

What’s the reason for this? Can you add this missing field, so we can migrate successfully to the new GraphQL API? As we see, there are already many others across the community, complaining about this.

best regards & thanks

1 Like

weight and weight unit got moved from variant to inventory item.

Hi Sam

Thanks, but this is not what we are looking for.

We are using this mutation productSet - GraphQL Admin for syncing product information from our software into shopify

As you can see, the properties of the newly created or updated product doesn’t include “measurement” (as before in the REST API) for the mutation. So it’s not possible to sync this important information.

This missing field should be added - as there are several requests on this.

Hi - the product team are aware of this limitation, see this topic: The exact deadline for products/variants api migration - #8 by Asaf_Gitai

Hi Liam

Thanks for sharing this link - we are aware of that. so my questions are:

  • if your are aware of this as a problem, is there an ETA for fixing it?
  • this production information is central, as otherwise the shipping weight and thus the shipping charges cannot be calculated. the statement “i don’t believe the measurement field should be a barrier to proceeding with the upgrade” makes no sense in this context. how should the weight information be migrated with the ProductSet migration path otherwise?