Skip to main content
interface

Represents a summary of the current version of data in a resource.

The compare_digest field can be used as input for mutations that implement a compare-and-swap mechanism.

•String!
non-null

The data stored in the resource, represented as a digest.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

Represents an inventory count operation for auditing and adjusting stock levels at a specific location.


Note

This object is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.


Show fields
•OBJECT

Metafields enable you to attach additional information to a Shopify resource, such as a Product or a Collection. For more information about where you can attach metafields refer to HasMetafields. Some examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers. Metafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value.

Show fields
•OBJECT

An instance of custom structured data defined by a MetaobjectDefinition. Metaobjects store reusable data that extends beyond Shopify's standard resources, such as product highlights, size charts, or custom content sections.

Each metaobject includes fields that match the field types and validation rules specified in its definition, which also determines the metaobject's capabilities, such as storefront visibility, publishing and translation support. Metafields can reference metaobjects to connect custom data with Product objects, Collection objects, and other Shopify resources.

Show fields

Was this section helpful?