Anchor to section titled 'undefined'

MetafieldStorefrontAccess
enum

Defines how the metafields of a definition can be accessed in Storefront API surface areas, including Liquid and the GraphQL Storefront API.


value-legacyliquidonly
LEGACY_LIQUID_ONLY

Metafields are accessible in online store Liquid templates but not in the GraphQL Storefront API. This access level is deprecated and can not be set.

Metafields are not accessible in any Storefront API surface area.

value-publicread
PUBLIC_READ

Metafields are accessible in the GraphQL Storefront API and online store Liquid templates.


Was this section helpful?

The storefront access setting used for the metafields under this definition.


Was this section helpful?
Map
MetafieldStorefrontAccess

Fields from