Tags:
- Admin GraphQL API
- Customer Account API
- 2024-07
New metafield jsonValue field
jsonValue fieldAs of API version 2024-07, the Metafield and objects now have a field returning the stored value as a scalar. This is particularly helpful for metafield values that are stored as strings to avoid having to parse client-side. This field is set for all metafield types and is also available in all Function APIs. It can be used in Function input queries to improve function performance and reduce the instructions needed to parse JSON metafield values, which are commonly used for function configuration.
Was this section helpful?