Skip to main content
object

Requires read_metaobjects access scope.

Provides an object instance represented by a MetaobjectDefinition.

•MetaobjectCapabilityData!
non-null

Metaobject capabilities for this Metaobject.

•App!
non-null

The app used to create the object.

•App!
non-null

The app used to create the object.

•StaffMember

The staff member who created the metaobject.

•MetaobjectDefinition!
non-null

The MetaobjectDefinition that models this object type.

•String!
non-null

The preferred display name field value of the metaobject.

•MetaobjectField

The field for an object key, or null if the key has no field definition.

•[MetaobjectField!]!
non-null

All ordered fields of the metaobject with their definitions and values.

•String!
non-null

The unique handle of the object, useful as a custom ID.

•ID!
non-null

A globally-unique ID.

•MetafieldRelationConnection!
non-null

List of back references metafields that belong to the resource.

•MetaobjectField

The recommended field to visually represent this metaobject. May be a file reference or color field.

•String!
non-null

The type of the metaobject.

•DateTime!
non-null

When the object was last updated.

•StaffMember
Deprecated

Was this section helpful?

•query

Retrieves a metaobject by ID.

•query

Retrieves a metaobject by handle.

•query

All metaobjects for the shop.


Was this section helpful?

•mutation

Creates a new metaobject.

•mutation

Updates an existing metaobject.

•mutation

Retrieves a metaobject by handle, then updates it with the provided input values. If no matching metaobject is found, a new metaobject is created with the provided input values.


Was this section helpful?

•interface

Was this section helpful?