Skip to main content
Log inSign up
Anchor to metaobjectDefinition

metaobjectDefinition

query

Requires read_metaobject_definitions access scope.

Retrieves a metaobject definition by ID.

ID!required

The ID of the metaobject to return.


Was this section helpful?

Anchor to MetaobjectDefinitionMetaobjectDefinition

Provides the definition of a generic object structure composed of metafields.

access
non-null

Access configuration for the metaobject definition.

capabilities
non-null

The capabilities of the metaobject definition.

createdByApp
non-null

The app used to create the metaobject definition.

createdByStaff

The staff member who created the metaobject definition.

description

The administrative description.

displayNameKey

The key of a field to reference as the display name for each object.

fieldDefinitions
non-null

The fields defined for this object type.

hasThumbnailField
non-null

Whether this metaobject definition has field whose type can visually represent a metaobject with the thumbnailField.

id
non-null

A globally-unique ID.

metaobjects
non-null

A paginated connection to the metaobjects associated with the definition.

metaobjectsCount
non-null

The count of metaobjects created for the definition.

name
non-null

The human-readable name.

type
non-null

The type of the object definition. Defines the namespace of associated metafields.


Was this section helpful?