Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

New fields available for Shopify Functions input queries

As of API version 2023-10, Shopify 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), which includes:
    • A localTime field, which provides the current date and allows testing the current time and date relative to provided arguments. (example)
    • A metafield field, which provides access to shop-level metafields.
  • All Function APIs now include localization as part of their input root. (example)
  • All Function APIs now include presentmentCurrencyRate as part of their input root. (example)

For more information, refer to the Shopify Function API references.

Was this section helpful?