Requires unauthenticated_read_metaobjects access scope.

An instance of a user-defined model based on a MetaobjectDefinition.


Accesses a field of the object by key.

All object fields with defined values. Omitted object keys can be assumed null, and no guarantees are made about field order.

The unique handle of the metaobject. Useful as a custom ID.

A globally-unique ID.

The URL used for viewing the metaobject on the shop's Online Store. Returns null if the metaobject definition doesn't have the online_store capability.

The metaobject's SEO information. Returns null if the metaobject definition doesn't have the renderable capability.

The type of the metaobject. Defines the namespace of its associated metafields.

The date and time when the metaobject was last updated.


Was this section helpful?
Map

Fields and connections from

Metaobject


Anchor to metaobject
query
Access requirements

Fetch a specific Metaobject by one of its unique identifiers.

Anchor to metaobjects
query
Access requirements

All active metaobjects for the shop.


Was this section helpful?
<?>
Metaobject Queries
Metaobject

||-
Metaobject Implements
Metaobject