Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetaobjectDefinitionCreateInput
The input fields for creating a metaobject definition.
Signature:
export interface MetaobjectDefinitionCreateInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| access? | InputMaybe<MetaobjectAccessInput> | (Optional) Access configuration for the metaobjects created with this definition. | |
| capabilities? | InputMaybe<MetaobjectCapabilityCreateInput> | (Optional) The capabilities of the metaobject definition. | |
| description? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) An administrative description of the definition. | |
| displayNameKey? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The key of a field to reference as the display name for metaobjects of this type. | |
| fieldDefinitions | Array<MetaobjectFieldDefinitionCreateInput> | A set of field definitions to create on this metaobject definition. | |
| name? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) A human-readable name for the definition. This can be changed at any time. | |
| type | Scalars[‘String’][‘input’] | <p>The type of the metaobject definition. This can’t be changed.</p><p>Must be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.</p> |