Anchor to metafieldStorefrontVisibilityCreatemetafield
metafield Storefront Visibility Create
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 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•
Specifies the input fields for a
record.
Was this section helpful?
Anchor to MetafieldStorefrontVisibilityCreatePayload returnsMetafield Storefront Visibility Create Payload returns
- Anchor to metafieldStorefrontVisibilitymetafield•
Storefront Visibility The
that was created.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?