Anchor to metafieldStorefrontVisibilityCreatemetafield
mutationmetafield Storefront Visibility Create
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 record to make all metafields that belong to the specified resource
and have the established
namespace
and key
combination visible in the Storefront API.
Anchor to Arguments
Arguments
- Anchor to inputinput•Metafield
Storefront Visibility Input!required Specifies the input fields for a
record.
Was this section helpful?
Anchor to MetafieldStorefrontVisibilityCreatePayload returnsMetafield Storefront Visibility Create Payload returns
- Anchor to metafieldStorefrontVisibilitymetafield•Metafield
Storefront Visibility Storefront Visibility The
that was created.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?