The resource referenced by the metafield value.


value-collection
object
Access requirements

Represents a group of products that can be displayed in online stores and other sales channels in categories, which makes it easy for customers to find them. For example, an athletics store might create different collections for running attire, shoes, and accessories.

Collections can be defined by conditions, such as whether they match certain product tags. These are called smart or automated collections.

Collections can also be created for a custom group of products. These are called custom or manual collections.

value-company
object
Access requirements

Represents information about a company which is also a customer of the shop.

value-customer
object
Access requirements

Represents information about a customer of the shop, such as the customer's contact details, their order history, and whether they've agreed to receive marketing material by email.

Caution: Only use this data if it's required for your app's functionality. Shopify will restrict access to scopes for apps that don't have a legitimate use for the associated data.

value-genericfile
object
Access requirements

Represents any file other than HTML.

value-mediaimage
object
Access requirements

An image hosted on Shopify.

value-metaobject
object
Access requirements

Provides an object instance represented by a MetaobjectDefinition.

value-model3d
object
Access requirements

Represents a Shopify hosted 3D model.

value-order
object
Access requirements

An order is a customer's request to purchase one or more products from a shop. You can retrieve and update orders using the Order object. Learn more about editing an existing order with the GraphQL Admin API.

Only the last 60 days' worth of orders from a store are accessible from the Order object by default. If you want to access older orders, then you need to request access to all orders. If your app is granted access, then you can add the read_all_orders scope to your app along with read_orders or write_orders. Private apps are not affected by this change and are automatically granted the scope.

Caution: Only use this data if it's required for your app's functionality. Shopify will restrict access to scopes for apps that don't have a legitimate use for the associated data.

value-page
object
Access requirements

A page on the Online Store.

value-product
object
Access requirements

The Product object lets you manage products in a merchant’s store.

Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use product variants to create or update different versions of the same product. You can also add or update product media. Products can be organized by grouping them into a collection.

Learn more about working with Shopify's product model, including limitations and considerations.

value-productvariant
object
Access requirements

Represents a product variant.

Represents a Shopify product taxonomy value.

value-video
object
Access requirements

Represents a Shopify hosted video.


Was this section helpful?

Returns a reference object if the metafield definition's type is a resource reference.

A list of reference objects if the metafield's type is a resource reference list.

A list of nodes that are contained in MetafieldReferenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

The item at the end of MetafieldReferenceEdge.

The referenced resource.

For resource reference fields, provides the referenced object.

For resource reference list fields, provides the list of referenced objects.


Was this section helpful?