Skip to main content
Anchor to metafieldStorefrontVisibilityCreate

metafieldStorefrontVisibilityCreate

mutation

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

Deprecated. This mutation will be removed in a future version. Use the metafieldDefinitionCreate or metafieldDefinitionUpdate mutations with access.storefront set instead.

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.

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?