Skip to main content
Log inSign up
object

Requires read_metaobjects access scope.

Provides an object instance represented by a MetaobjectDefinition.

Anchor to Fields and connectionsFields and connections

•

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.

•

The staff member who created the metaobject.

•

The MetaobjectDefinition that models this object type.

•
String!non-null

The preferred display name field value of the metaobject.

•

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

•

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.

•

List of back references metafields that belong to the resource.

•

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.

•
StaffMemberDeprecated

The staff member who created the metaobject. Use createdByStaff instead.


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?