Anchor to section titled 'undefined'

MetafieldStorefrontVisibility
object

By default, the Storefront API can't read metafields. To make specific metafields visible in the Storefront API, you need to create a MetafieldStorefrontVisibility record. A MetafieldStorefrontVisibility record is a list of the metafields, defined by the owner_type, namespace, and key, 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.


The date and time when the metafield was set to visible in the Storefront API.

A globally-unique ID.

The key of a metafield to make visible in the Storefront API.

The ID of the corresponding resource in the REST Admin API.

The namespace of a metafield to make visible in the Storefront API.

The owner type of a metafield to make visible in the Storefront API.

The date and time when the MetafieldStorefrontVisilibty record was updated.


Was this section helpful?
Map
MetafieldStorefrontVisibility



Was this section helpful?
<?>
MetafieldStorefrontVisibility Queries
MetafieldStorefrontVisibility



Was this section helpful?
<~>
MetafieldStorefrontVisibility Mutations
MetafieldStorefrontVisibility

||-
MetafieldStorefrontVisibility Implements
MetafieldStorefrontVisibility