Skip to main content
query

Requires unauthenticated_read_metaobjects access scope.

Returns a paginated list of Metaobject entries for a specific type. Metaobjects are custom data structures that extend Shopify's data model with merchant-defined or app-defined content like size charts, product highlights, or custom sections.

The required type argument specifies which metaobject type to retrieve. You can sort results by id or updated_at using the sortKey argument.

Anchor to Arguments

MetaobjectConnection arguments

•MetaobjectConnection!
•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•Boolean
Default:false

Reverse the order of the underlying list.

•String

The key of a field to sort with. Supports "id" and "updated_at".

•String!
required

The type of metaobject to retrieve.


Was this section helpful?

•[MetaobjectEdge!]!
non-null

A list of edges.

•[Metaobject!]!
non-null

A list of the nodes contained in MetaobjectEdge.

•PageInfo!
non-null

Information to aid in pagination.


Was this section helpful?