Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to metaobjectDefinitionByType

metaobjectDefinitionByType

query

Requires read_metaobject_definitions access scope.

Finds a metaobject definition by type.

String!required

The type of the metaobject definition to return.


Was this section helpful?

Anchor to MetaobjectDefinitionMetaobjectDefinition

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

access
non-null

Access configuration for the metaobject definition.

capabilities
non-null

The capabilities of the metaobject definition.

createdByApp
non-null

The app used to create the metaobject definition.

createdByStaff

The staff member who created the metaobject definition.

description

The administrative description.

displayNameKey

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

fieldDefinitions
non-null

The fields defined for this object type.

hasThumbnailField
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.

metaobjects
non-null

A paginated connection to the metaobjects associated with the definition.

metaobjectsCount
non-null

The count of metaobjects created for the definition.

name
non-null

The human-readable name.

type
non-null

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


Was this section helpful?