--- title: New fields available for Shopify Functions input queries - 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/new-fields-available-for-shopify-functions-input-queries md: https://shopify.dev/changelog/new-fields-available-for-shopify-functions-input-queries.md --- [Back to Developer changelog](https://shopify.dev/changelog) October 2, 2023 Tags: * API * 2023-10 # New fields available for Shopify Functions input queries As of API version 2023-10, [Shopify Functions](https://shopify.dev/docs/apps/functions) APIs now include the following values in their input query GraphQL schema, so that you can do more with Functions! * A `shop` field is now available on the input root ([example](https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/common-objects/shop)), which includes: * A `localTime` field, which provides the current date and allows testing the current time and date relative to provided arguments. ([example](https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/common-objects/localtime)) * A `metafield` field, which provides access to shop-level metafields. * All Function APIs now include `localization` as part of their input root. ([example](https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/common-objects/localization)) * All Function APIs now include `presentmentCurrencyRate` as part of their input root. ([example](https://shopify.dev/docs/api/functions/reference/product-discounts/graphql/input)) For more information, refer to the [Shopify Function API references](https://shopify.dev/docs/api/functions).