Anchor to metafieldStorefrontVisibilitymetafield
querymetafield Storefront Visibility
Deprecated. This query will be removed in 2025-01. Use the access.storefront field inside the metafieldDefinition query instead.
Returns a record by ID. A
record lists the
metafields to make visible in the Storefront API.
Anchor to Possible returnsPossible returns
- Anchor to MetafieldStorefrontVisibilityMetafield•Metafield
Storefront Visibility Storefront Visibility By default, the Storefront API can't read metafields. To make specific metafields visible in the Storefront API, you need to create a
record. A
record is a list of the metafields, defined by the
,
namespace
, andkey
, to make visible in the Storefront API.Learn about [exposing metafields in the Storefront API] (https://shopify.dev/custom-storefronts/products-collections/metafields) for more details.
Was this section helpful?