Skip to main content
Anchor to MetafieldDefinitionCreateInput

MetafieldDefinitionCreateInput

input_object

Set of inputs to the metafieldDefinitionCreate Mutation.

•CustomDataAccessInput

Optional AccessGrants can be created along with the definition. Sharing requires additional client scope and is not available to all clients.

•String!
non-null

Human friendly description of the Definition.

•String!
non-null

Identifier for the Definition.

•String!
non-null

Human friendly display name.

•String

Optional, existing Namespace to share, with READ access, the new Definition with.

•String!
non-null

Type of the data described by the Definition.

•[CustomDataMetafieldDefinitionValidationInput!]

Optional validations on the value in a field. Changes will be enforced upon the next use of metafieldSet for this definition on a given user.


Was this section helpful?