Graphql api lineItem's weight

Hello,

We are migrating from REST to GRAPHQL Api and I can’t found one field.

We want to get the last 40 unfulfilled orders and I also need each order item’s weight.

Here is my query:
{
orders(first: 40, query: “fulfillment_status:unfulfilled”) {
nodes {
id
name
displayFinancialStatus
displayFulfillmentStatus
note
processedAt
tags
paymentGatewayNames
totalOutstandingSet {
presentmentMoney {
amount
currencyCode
}
}

  lineItems(first: 10) {
    nodes {
      sku
      name
      title
      # How can i get the weitght of each item?
      image {
        url
      }
      discountedUnitPriceAfterAllDiscountsSet {
        presentmentMoney {
          amount
          currencyCode
        }
        shopMoney {
          amount
          currencyCode
        }
      }
      currentQuantity
      quantity
    }
  }
  shippingAddress {
    zip
    city
    name
    phone
    country
    address1
    address2
    province
    lastName
    firstName
    countryCodeV2
    provinceCode
  }
  customAttributes {
    key
    value
  }
  currentTotalPriceSet {
    presentmentMoney {
      amount
      currencyCode
    }
  }
}

}
}

In the rest resource the weight of each lineItem presented as { “grams”: 200}.

How can i get the weight of each line_item with Graphql query?

Thank you in advance!

With GraphQL you need to remember which resource data is on.
The line item has both product and variant information, you can see that from the docs. LineItem - GraphQL Admin
We know from the Shopify UI that weight is on a per variant basis. When you look on the Variant, it doesn’t have weight but it does on the Inventory Item.
InventoryItemMeasurement - GraphQL Admin

So on the line item you need to go:

variant {
    inventoryItem {
      measurement {
        weight {
          unit
          value
        }
      }
    }
  }