Node
Enables global object identification following the Relay specification.
Any type implementing this interface has a globally-unique id field and can be
fetched directly using the
node or
nodes queries.
Anchor to Types implemented inTypes implemented in
- AppliedGiftCard (AppliedGiftCard)
- Article (Article)
- Blog (Blog)
- Cart (Cart)
- CartLine (CartLine)
- Collection (Collection)
- Comment (Comment)
- Company (Company)
- CompanyContact (CompanyContact)
- CompanyLocation (CompanyLocation)
- ComponentizableCartLine (ComponentizableCartLine)
- ExternalVideo (ExternalVideo)
- GenericFile (GenericFile)
- Location (Location)
- MailingAddress (MailingAddress)
- Market (Market)
- MediaImage (MediaImage)
- MediaPresentation (MediaPresentation)
- Menu (Menu)
- MenuItem (MenuItem)
- Metafield (Metafield)
- Metaobject (Metaobject)
- Model3d (Model3d)
- Order (Order)
- Page (Page)
- Product (Product)
- ProductOption (ProductOption)
- ProductOptionValue (ProductOptionValue)
- ProductVariant (ProductVariant)
- Shop (Shop)
- ShopPayInstallmentsFinancingPlan (ShopPayInstallmentsFinancingPlan)
- ShopPayInstallmentsFinancingPlanTerm (ShopPayInstallmentsFinancingPlanTerm)
- ShopPayInstallmentsProductVariantPricing (ShopPayInstallmentsProductVariantPricing)
- ShopPolicy (ShopPolicy)
- TaxonomyCategory (TaxonomyCategory)
- UrlRedirect (UrlRedirect)
- Video (Video)
- •OBJECT
Details about the gift card used on the checkout.
- •OBJECT
A post that belongs to a
Blog. Each article includes content with optional HTML formatting, an excerpt for previews,information, and an associatedImage.Articles can be organized with tags and include
SEOmetadata. You can manage comments when the blog's comment policy enables them.- •OBJECT
A blog container for
Articleobjects. Stores can have multiple blogs, for example to organize content by topic or purpose.Each blog provides access to its articles, contributing
objects, andSEOinformation. You can retrieve articles individually by handle or as a paginated list.- •OBJECT
A cart represents the merchandise that a buyer intends to purchase, and the estimated cost associated with the cart, throughout a customer's session.
Use the
field to direct buyers to Shopify's web checkout to complete their purchase.Learn more about interacting with carts.
- •OBJECT
An item in a customer's
Cartrepresenting a product variant they intend to purchase. Each cart line tracks the merchandise, quantity, cost breakdown, and any applied discounts.Cart lines can include custom attributes for additional information like gift wrapping requests, and can be associated with a
for purchase options like subscriptions, pre-orders, or try-before-you-buy. Theinstructionsfield indicates whether the line can be removed or have its quantity updated.- •OBJECT
A group of products organized by a merchant to make their store easier to browse. Collections can help customers discover related products by category, season, promotion, or other criteria.
Query a collection's products with filtering options like availability, price range, vendor, and tags. Each collection includes
SEOinformation, an optionalImage, and supports custom data throughmetafields.- •OBJECT
A comment on an article.
- •OBJECT
A B2B organization that purchases from the shop. In the Storefront API, company information is accessed through the
object on, which provides the associated location and contact for the current purchasing context.You can store custom data using metafields.
- •OBJECT
A company's main point of contact.
- •OBJECT
A branch or office of a
Companywhere B2B customers can place orders. When a B2B customer selects a location after logging in, the Storefront API contextualizes product queries to return location-specific pricing and quantity rules.Access through the
object, which associates the location with the buyer'sCart.- •OBJECT
Represents information about the grouped merchandise in the cart.
- •OBJECT
Represents a video hosted outside of Shopify.
- •OBJECT
Any file that doesn't fit into a designated type like image or video. For example, a PDF or JSON document. Use this object to manage files in a merchant's store.
Generic files are commonly referenced through file reference metafields and returned as part of the
union.Includes the file's URL, MIME type, size in bytes, and an optional preview image.
- •OBJECT
A physical store location where product inventory is held and that supports in-store pickup. Provides the location's name, address, and geographic coordinates for proximity-based sorting. Use with
to show customers where ais available for pickup.Learn more about supporting local pickup on storefronts.
- •OBJECT
A physical mailing address associated with a
CustomerorOrder. Stores standard address components including street address, city, province, country, and postal code, along with customer name and company information.The address includes geographic coordinates and provides pre-formatted output through the
formattedfield, which can optionally include or exclude name and company details.- •OBJECT
An audience of buyers that a merchant targets for sales. Audiences can include geographic regions, company locations, and retail locations. Markets enable localized shopping experiences with region-specific languages, currencies, and pricing.
Each market has a unique
handlefor identification and supports custom data throughmetafields. Learn more about building localized experiences with Shopify Markets.- •OBJECT
An image hosted on Shopify's content delivery network (CDN). Used for product images, brand logos, and other visual content across the storefront.
The
imagefield provides the actual image data with transformation options. Implements theMediainterface alongside other media types likeVideoandModel3d.- •OBJECT
A media presentation.
- •OBJECT
A navigation structure for building store menus. Each menu contains
objects that can be nested to create multi-level navigation hierarchies.Menu items can link to collections, products, pages, blogs, or external URLs. Use the
menuquery to retrieve a menu by its handle.- •OBJECT
A navigation link within a
Menu. Each item has a title, URL, and can link to store resources like products, collections, pages, blogs, or external URLs.Menu items support nested hierarchies through the
itemsfield, enabling dropdown or multi-level navigation structures. Thetagsfield filters results when the item links to a collection specifically.- •OBJECT
Custom metadata attached to a Shopify resource such as a
Product,Collection, orCustomer. Each metafield is identified by a namespace and key, and stores a value with an associated type.Values are always stored as strings, but the
typefield indicates how to interpret the data. When a metafield's type is a resource reference, use thereferenceorreferencesfields to retrieve the linked objects. Access metafields on any resource that implements theinterface.- •OBJECT
An instance of custom structured data defined by a metaobject definition. Metaobjects store reusable content that extends beyond standard Shopify resources, such as size charts, author profiles, or custom content sections.
Each metaobject contains fields that match the types and validation rules specified in its definition.
Metafieldreferences can point to metaobjects, connecting custom data with products, collections, and other resources. If the definition has therenderablecapability, then theseofield provides SEO metadata. If it has thecapability, then thefield returns the public URL.- •OBJECT
Represents a Shopify hosted 3D model.
- •OBJECT
An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information.
- •OBJECT
A custom content page on a merchant's store. Pages display HTML-formatted content, such as "About Us", contact details, or store policies.
Each page has a unique
handlefor URL routing and includesSEOinformation for search engine optimization. Pages supportMetafieldattachments for storing additional custom data.- •OBJECT
Represents an item listed in a shop's catalog.
Products support multiple product variants, representing different versions of the same product, and can include various media types. Use the
orfields to help customers find the right variant based on their selections.Products can be organized into collections, associated with selling plans for subscriptions, and extended with custom data through metafields.
Learn more about working with products and collections.
- •OBJECT
A customizable product attribute that customers select when purchasing, such as "Size", "Color", or "Material". Each option has a name and a set of
objects representing the available choices.Different combinations of option values create distinct
objects. Option values can include visual swatches that display colors or images to help customers make selections. Option names have a 255-character limit.Learn more about Shopify's product model.
- •OBJECT
A specific value for a
, such as "Red" or "Blue" for a "Color" option. Option values combine across different options to createobjects.Each value can include a visual swatch that displays a color or image. The
field returns the variant that combines this option value with the lowest-position values for all other options. This is useful for building product selection interfaces.Learn more about Shopify's product model.
- •OBJECT
A specific version of a product available for sale, differentiated by options like size or color. For example, a small blue t-shirt and a large blue t-shirt are separate variants of the same product. For more information, see the docs on Shopify's product model.
For products with quantity rules, variants enforce minimum, maximum, and increment constraints on purchases.
Variants also support subscriptions and pre-orders through selling plan allocations objects, bundle configurations through product variant components objects, and shop pay installments pricing for flexible payment options.
- •OBJECT
The central hub for store-wide settings and information accessible through the Storefront API. Provides the shop's name, description, and branding configuration including logos and colors through the
Brandobject.Access store policies such as privacy, refund, shipping, and terms of service via
, and the subscription policy via.expose accepted card brands, supported digital wallets, and enabled presentment currencies. The object also includes the primaryDomain, countries the shop ships to,, andoptions for customer accounts.- •OBJECT
The financing plan in Shop Pay Installments.
- •OBJECT
The terms of the financing plan in Shop Pay Installments.
- •OBJECT
The shop pay installments pricing information for a product variant.
- •OBJECT
Policy that a merchant has configured for their store, such as their refund or privacy policy.
- •OBJECT
A category from Shopify's Standard Product Taxonomy assigned to a
Product. Categories provide hierarchical classification through theancestorsfield.The
ancestorsfield returns the parent chain from the immediate parent up to the root. Each ancestor category also includes its ownancestors.The
namefield returns the localized category name based on the storefront's request language with shop locale fallbacks. If a translation isn't available for the resolved locale, the English taxonomy name is returned.- •OBJECT
A redirect on the online store.
- •OBJECT
A video hosted on Shopify's servers. Implements the
Mediainterface and provides multiple video sources through thesourcesfield, each with format, dimensions, and URL information for adaptive playback.For videos hosted on external platforms like YouTube or Vimeo, use
instead.