Skip to main content

LineItem.weight field now available in public Admin API

Starting in version 2026-07 of the GraphQL Admin API, you can query the weight field on the LineItem 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 section helpful?