I want to read and write to the unitPriceMeasurement for each variant. Regarding the Shopify GraphQL docs, this field should be available (UnitPriceMeasurement). We are a german based store.
This is my GraphQL query:
{
productVariants(first: 100) {
nodes {
title,
unitPriceMeasurement {
quantityValue
}
}
}
}
This is the error which occurs:
{"errors":[{"message":"Field 'unitPriceMeasurement' doesn't exist on type 'ProductVariant'","locations":[{"line":6,"column":13}],"path":["query","productVariants","nodes","unitPriceMeasurement"],"extensions":{"code":"undefinedField","typeName":"ProductVariant","fieldName":"unitPriceMeasurement"}}]}
Is there anything wrong with my query? How can I access the unitPriceMeasurement?