--- 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 metadata: effectiveApiVersion: 2023-10 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2023-09-15T11:58:33-04:00' postedAt: '2023-10-02T12:00:00-04:00' updatedAt: '2024-12-13T17:24:39-05:00' effectiveAt: '2023-10-02T12:00:00-04:00' --- 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).