API2023-10
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
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.
- A
- All Function APIs now include
localization
as part of their input root. (example) - All Function APIs now include
as part of their input root. (example)
For more information, refer to the Shopify Function API references.
Was this section helpful?