Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to MetaobjectFieldDefinitionCreateInput

MetaobjectFieldDefinitionCreateInput

input_object

The input fields for creating a metaobject field definition.

•

An administrative description of the field.

•
String!non-null

The key of the new field definition. This can't be changed.

Must be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters.

•

A human-readable name for the field. This can be changed at any time.

•
BooleanDefault:false

Whether metaobjects require a saved value for the field.

•
String!non-null

The metafield type applied to values of the field.

•

Custom validations that apply to values assigned to the field.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•
INPUT OBJECT

A set of field definitions to create on this metaobject definition.

•
INPUT OBJECT

The input fields for creating a metaobject field definition.


Was this section helpful?