Anchor to MetafieldDefinitionCreateInputMetafield
input_objectMetafield Definition Create Input
Set of inputs to the metafieldDefinitionCreate Mutation.
Anchor to FieldsFields
- access (CustomDataAccessInput)
- description (String!)
- key (String!)
- name (String!)
- namespace (String)
- type (String!)
- validations ([CustomDataMetafieldDefinitionValidationInput!])
- Anchor to accessaccess•Custom
Data Access Input Optional AccessGrants can be created along with the definition. Sharing requires additional client scope and is not available to all clients.
- Anchor to descriptiondescription•String!non-null
Human friendly description of the Definition.
- •String!non-null
Identifier for the Definition.
- Anchor to namename•String!non-null
Human friendly display name.
- Anchor to namespacenamespace•String
Optional, existing Namespace to share, with READ access, the new Definition with.
- Anchor to typetype•String!non-null
Type of the data described by the Definition.
- Anchor to validationsvalidations•[Custom
Data Metafield Definition Validation Input!] 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?