Menu Item Resource
The list of possible resources a can reference.
Anchor to Possible typesPossible types
- Article (Article)
- Blog (Blog)
- Collection (Collection)
- Metaobject (Metaobject)
- Page (Page)
- Product (Product)
- ShopPolicy (ShopPolicy)
- •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 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
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
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
Policy that a merchant has configured for their store, such as their refund or privacy policy.
Anchor to Fields with this unionFields with this union
- •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.