# Line item weight input for `orderCreate` mutation — Shopify developer changelog --- ## Line item weight input for `orderCreate` mutation We have enhanced the `orderCreate` mutation by adding an optional field, `OrderCreateLineItemInput.weight`, which allows you to specify the weight of each line item using the `WeightInput` object. For line items linked to a product variant: - Specifying a weight will override the variant's default weight. - If no weight is specified, the variant's weight will be used by default. For line items not linked to a product variant, such as custom items: - Specifying a weight will apply that weight to the line item. - If no weight is specified, the line item's weight will default to 0. This is an improved version of the `line_items.grams` field that exists in the [REST API](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#post-orders). *Published: January 15, 2025* Tags: API, New Link: https://shopify.dev/changelog/line-item-weight-input-for-ordercreate-mutation ---