Skip to main content
Anchor to MetaobjectDefinition

MetaobjectDefinition

object

Requires read_metaobject_definitions access scope.

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

MetaobjectAccess!
non-null

Access configuration for the metaobject definition.

MetaobjectCapabilities!
non-null

The capabilities of the metaobject definition.

App!
non-null

The app used to create the metaobject definition.

StaffMember

The staff member who created the metaobject definition.

String

The administrative description.

String

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

[MetaobjectFieldDefinition!]!
non-null

The fields defined for this object type.

Boolean!
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.

MetaobjectConnection!
non-null

A paginated connection to the metaobjects associated with the definition.

Int!
non-null

The count of metaobjects created for the definition.

String!
non-null

The human-readable name.

StandardMetaobjectDefinitionTemplate

The standard metaobject template associated with the definition.

String!
non-null

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


Was this section helpful?

query

Retrieves a metaobject definition by ID.

query

Finds a metaobject definition by type.

query

All metaobject definitions.


Was this section helpful?

mutation

Creates a new metaobject definition.

mutation

Updates a metaobject definition with new settings and metafield definitions.

mutation

Enables the specified standard metaobject definition from its template.


Was this section helpful?

interface

Was this section helpful?