--- title: Updated CalculateExchangeLineItemInput and CalculatedExchangeLineItem Variant nullability - 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/updated-calculateexchangelineiteminput-and-calculatedexchangelineitem-variant-nullability md: https://shopify.dev/changelog/updated-calculateexchangelineiteminput-and-calculatedexchangelineitem-variant-nullability.md --- [Back to Developer changelog](https://shopify.dev/changelog) October 7, 2024 Tags: * Admin GraphQL API * 2025-01 # Updated CalculateExchangeLineItemInput and CalculatedExchangeLineItem Variant nullability As of Admin GraphQL API `2025-01` version, `CalculateExchangeLineItemInput.variantId` and `CalculatedExchangeLineItem.variant` fields are nullable at schema level. This is in preparation of future feature changes. In the current state `CalculateExchangeLineItemInput.variantId` will still be validated via a returned error if not present. Learn more about [CalculateExchangeLineItemInput](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/CalculateExchangeLineItemInput) and [CalculatedExchangeLineItem](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CalculatedExchangeLineItem).