Online Store Publishable
Represents a resource that can be published to the Online Store sales channel.
Anchor to FieldsFields
- onlineStoreUrl (URL)
- Anchor to onlineStoreUrlonline•URL
Store Url The URL used for viewing the resource on the shop's Online Store. Returns
nullif the resource is currently not published to the Online Store sales channel.
Anchor to Types implemented inTypes implemented in
- Article (Article)
- Blog (Blog)
- Collection (Collection)
- Metaobject (Metaobject)
- Page (Page)
- Product (Product)
- •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.