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 2025-01. 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.

MetafieldStorefrontVisibilityInput!required

Specifies the input fields for a MetafieldStorefrontVisibility record.


Was this section helpful?

Anchor to MetafieldStorefrontVisibilityCreatePayload returnsMetafieldStorefrontVisibilityCreatePayload returns

Anchor to metafieldStorefrontVisibilitymetafieldStorefrontVisibility
MetafieldStorefrontVisibility

The MetafieldStorefrontVisibility that was created.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »