Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to metafieldStorefrontVisibilityCreate

metafieldStorefrontVisibilityCreate

mutationDeprecated

Requires API client to have access to the owner type and namespace.

Creates a MetafieldStorefrontVisibility record to make all metafields that belong to the specified resource and have the established namespace and key combination visible in the Storefront API. This mutation will be removed in a future version. Use the metafieldDefinitionCreate or metafieldDefinitionUpdate mutations with access.storefront set instead.

Specifies the input fields for a MetafieldStorefrontVisibility record.


Was this section helpful?

Anchor to MetafieldStorefrontVisibilityCreatePayload returnsMetafieldStorefrontVisibilityCreatePayload returns

Anchor to metafieldStorefrontVisibilitymetafieldStorefrontVisibility

The MetafieldStorefrontVisibility that was created.

The list of errors that occurred from executing the mutation.


Was this section helpful?