--- title: Line item weight input for orderCreate mutation - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/line-item-weight-input-for-ordercreate-mutation md: https://shopify.dev/changelog/line-item-weight-input-for-ordercreate-mutation.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 15, 2025 Tags: * Admin GraphQL API * 2025-04 # 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).