metafieldStorefrontVisibilityCreate mutation
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.
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
Argument | Description |
---|---|
input
(
MetafieldStorefrontVisibilityInput!
)
required
|
Specifies the input fields for the visibility. |
MetafieldStorefrontVisibilityInput fields
-
key (
String!
) RequiredThe key of the metafield to be visible to the storefront api.
-
namespace (
String!
) RequiredThe namespace of the metafield to be visible to the storefront api.
-
ownerType (
MetafieldOwnerType!
) RequiredThe 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.