Issue with Fetching "Measurement" Data in Product Variant API

We have escalated the issue to Shopify’s support team and provided them with the query sample that is not returning the expected result. Below is the query we used:

graphql

Copy code

productVariants(first: 1, query: "sku:9788293670114286") {
    edges {
        node {
            id
            title
            weight
            weightUnit
            inventoryItem {
                measurement {
                    weight
                }
            }
            product {                                                                  
                id
                title
            }
        }
    }
}

As outlined in the Shopify documentation, we expected the measurement field to return the associated weight for the inventory item, but the response did not include the desired data.

We will provide you with updates once we receive feedback or guidance from Shopify’s support team.

What version of the graphql API are you using? :blush: