We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

metafieldStorefrontVisibilityCreate

Version 2019-07 (Latest)

Makes a Metafield with a specific namespace and key visible to the storefront API.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( MetafieldStorefrontVisibilityInput! ) required

Specifies the input fields for the visibility.

Input Fields

key (String!) Required

The key of the metafield to be visible to the storefront api.

namespace (String!) Required

The namespace of the metafield to be visible to the storefront api.

ownerType (MetafieldOwnerType!) Required

The core resource ( e.g.: Product ) that owns this metafield.

Return Fields

metafieldStorefrontVisibility (MetafieldStorefrontVisibility)

The metafield storefront visibility that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Makes a Metafield with a specific namespace and key visible to the storefront API.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( MetafieldStorefrontVisibilityInput! ) required

Specifies the input fields for the visibility.

Input Fields

key (String!) Required

The key of the metafield to be visible to the storefront api.

namespace (String!) Required

The namespace of the metafield to be visible to the storefront api.

ownerType (MetafieldOwnerType!) Required

The core resource ( e.g.: Product ) that owns this metafield.

Return Fields

metafieldStorefrontVisibility (MetafieldStorefrontVisibility)

The metafield storefront visibility that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up