Convert Product rest admin api into Graphql api

Topic summary

A developer is migrating from Shopify’s Product REST Admin API to GraphQL and encountering missing fields in the response.

Missing Fields:
Five variant-level fields from the REST API are not available in GraphQL:

  • grams
  • inventory_management
  • fulfillment_service
  • requires_shipping
  • weight_unit

Current Status:
The question remains unanswered. The developer needs guidance on how to retrieve these specific variant fields through the GraphQL API, as they were previously accessible under the variants object in REST responses.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I am converting my Product.all REST Admin API to a GraphQL API, and there are 5 fields that are not being fetched:

  1. grams
  2. inventory_management
  3. fulfillment_service
  4. requires_shipping
  5. weight_unit

These fields were available under the variants object in the product response in the REST API, but in the GraphQL API, these fields are not available under variants. How can I fetch these fields in GraphQL?