Starting in version 2026-07 of the GraphQL Admin API, you can query the weight field on the type in the GraphQL Admin API. This field returns a Weight object with value and unit, making it easy to access line item weights without converting from the REST API's grams field.
Was this page helpful?