Home > @infiniteobjects/shopify-data-manager > AdminTypes > Metaobject
Provides an object instance represented by a MetaobjectDefinition.
Signature:
export interface Metaobject extends Node
Extends: Node
Property | Modifiers | Type | Description |
---|---|---|---|
capabilities | MetaobjectCapabilityData | Metaobject capabilities for this Metaobject. | |
createdBy | App | The app used to create the object. | |
definition | MetaobjectDefinition | The MetaobjectDefinition that models this object type. | |
displayName | Scalars[‘String’][‘output’] | The preferred display name field value of the metaobject. | |
field? | Maybe<MetaobjectField> | (Optional) The field for an object key, or null if the key has no field definition. | |
fields | Array<MetaobjectField> | All ordered fields of the metaobject with their definitions and values. | |
handle | Scalars[‘String’][‘output’] | The unique handle of the object, useful as a custom ID. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
referencedBy | MetafieldRelationConnection | List of back references metafields that belong to the resource. | |
staffMember? | Maybe<StaffMember> | (Optional) The staff member who created the metaobject. | |
type | Scalars[‘String’][‘output’] | The type of the metaobject. | |
updatedAt | Scalars[‘DateTime’][‘output’] | When the object was last updated. |