Skip to main content
Log inSign up
Anchor to MetaobjectDefinition

MetaobjectDefinition

object

Requires read_metaobject_definitions access scope.

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

Anchor to Fields and connectionsFields and connections

•

Access configuration for the metaobject definition.

•

The capabilities of the metaobject definition.

•
DateTime!non-null

The date and time when the metaobject definition was created.

•
App!non-null

The app used to create the metaobject definition.

•

The staff member who created the metaobject definition.

•

The administrative description.

•

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

•

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.

•

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.

•

The standard metaobject template associated with the definition.

•
String!non-null

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

•
DateTime!non-null

The date and time when the metaobject definition was last updated.


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?