These pages list the exact data fields available to hosted Vascula themes. Add a root name such as product to a section's ctx_needs, then read it directly as product.title in the template. The ctx. prefix shown here identifies the public contract; do not include that prefix in a Vascula expression. Required fields are present whenever their containing object is present. Optional fields may be absent, and nullable fields may be present as null. [] marks an array item and {key} marks a key selected at runtime. Named types such as Price and Media are detailed on Shared data shapes.
Address#
Reusable fields for values shown as the Address type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
Any#
Reusable fields for values shown as the Any type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Value |
Reusable type |
Card offer#
Reusable fields for values shown as the Card offer type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
How the shopper gets the offer, for example "Applied automatically" or "Use this code at checkout". |
|
Boolean |
Required |
True when no code is needed (kind automatic or payment). |
|
String |
Required |
The offer's short line for a card: title, and for a code the title with the code, for example "15% off new in with HAUL15" or "5% off with UPI". Print it as given. |
|
String or null |
Required; may be null |
The code to enter at checkout (kind code only); null otherwise. |
|
String |
Required |
The offer's conditions joined by " · ", for example "On orders of €50.00 or more" or "When you pay with Stripe"; empty when there are none. |
|
Timestamp or null |
Required; may be null |
When the offer ends (RFC 3339 in the store's timezone with its offset); null when it has no end. |
|
String |
Required |
The discount's or online payment discount's id: stable, for keys and element ids. |
|
String ( |
Required |
automatic: an automatic discount; code: a discount code the store shows; payment: an online payment discount for a payment method offered in the visitor's market and currency (it applies to every product alike). |
|
String |
Required |
What the shopper saves, for example "15% off", "€15.00 off", "Up to 20% off", "Buy 2, get 1 free". |
|
String |
Required |
The headline: the offer label the store gave the discount or online payment discount, in the shopper's language. |
|
String ( |
Required |
What the offer gives. payment offers are percentage or fixed_amount. For choosing an icon or style only. |
Cart media#
Reusable fields for values shown as the Cart media type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String or null |
Required; may be null |
|
|
Boolean |
Required |
|
|
URL |
Required |
Catalog entity ref#
Reusable fields for values shown as the Catalog entity ref type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Optional |
True when the category has sub-categories of its own: for a tree menu's drill-down arrow. |
|
Identifier |
Required |
|
|
Object or null |
Required; may be null |
The category's image as media: url, alt_text (in the shopper's language), and width and height, its stored pixel size (null when unknown), so a sub-category tile can take the photo's own ratio. Null when it has none. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String |
Required |
|
|
Integer |
Required |
Products listed on this storefront in that category: what its page grid shows before shopper filters (the same count as category.product_count on its own page). Counted for every ref of the page in one read, the first time a template uses one. |
|
String |
Required |
|
|
URL |
Required |
Collection ref#
Reusable fields for values shown as the Collection ref type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Identifier |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
Content index#
Reusable fields for values shown as the Content index type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Metafields |
Optional |
The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page. |
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
Country#
Reusable fields for values shown as the Country type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Optional |
|
|
String |
Optional |
|
|
String |
Optional |
|
|
String |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
Boolean |
Optional |
Entity#
Reusable fields for values shown as the Entity type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Boolean |
Optional |
Categories only: true when the category has sub-categories (its page's category.children lists them). Absent for vendors, brands and collections. |
|
Identifier |
Required |
|
|
Object or null |
Required; may be null |
The entity's image as media: url, alt_text (in the shopper's language), and width and height, its stored pixel size (null when unknown), so a tile can take the photo's own ratio instead of cropping it. Null when it has no image. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
Object keyed by name |
Optional |
|
|
Value |
Dynamic key |
|
|
String |
Required |
The name in the shopper's language (the source name when it has no translation). |
|
Integer |
Required |
Products listed on this storefront: what the entity's page grid shows before shopper filters. |
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
The slug in the shopper's language: the translated slug, else the source slug. Vendor, brand and category filters take a slug in any language (filter.vendor= |
|
URL |
Optional |
The entity's page in the shopper's language and country address. Another language's slug, or an old slug whose change kept its redirect, redirects there. |
Gift card#
Reusable fields for values shown as the Gift card type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Presented money |
Required |
What is left to spend. |
|
String or null |
Required; may be null |
The full code, only on the card's view link (/gift-cards/view/{token}); null after a balance check. Anyone with the code can redeem the card; keep the code and link safe. Never print it when it is null. |
|
String |
Required |
The last four code characters after a mask, such as •••• 4F7K. Show it to identify the card. |
|
String |
Required |
The card's currency (ISO 4217). A card holds its value in this currency only. |
|
Timestamp or null |
Required; may be null |
When the card expires (RFC 3339 in the store's timezone with its offset); null when it never expires. |
|
String or null |
Required; may be null |
The expiry in the shopper's language, with the time and the store's timezone, such as "Valid until Fri, Dec 31, 2027, 11:59 PM (Hong Kong Time)" or "Expired on Tue, Mar 3, 9:00 AM (Hong Kong Time)"; null when the card never expires. |
|
Presented money |
Required |
The value the card was issued with. |
|
String or null |
Required; may be null |
The sender's message to the recipient, only on the view link; null otherwise or when there is none. |
|
URL |
Required |
The store's home page in the shopper's language, to start spending the card. |
|
String ( |
Required |
active: can be spent; used: nothing left; expired; disabled: paused by the store; cancelled. |
|
String |
Required |
status in the shopper's language. Print it, not the status value. |
Language#
Reusable fields for values shown as the Language type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Boolean |
Required |
Line properties#
Reusable fields for values shown as the Line properties type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object keyed by name |
Reusable type |
|
|
String |
Dynamic key |
Listing option#
Reusable fields for values shown as the Listing option type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Array of object |
Required |
|
|
String or null |
Required; may be null |
|
|
Object or null |
Required; may be null |
The option's image as media (url, alt_text, width, height): for image attributes, so a swatch can carry alt text and reserve the photo's own shape. Null when the option has no image. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String or null |
Required; may be null |
The option's image file (image attributes); null when it has none. The same file as image.url. |
|
String |
Required |
|
|
String |
Required |
Media#
Reusable fields for values shown as the Media type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
Menu item#
Reusable fields for values shown as the Menu item type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Required |
True when this item or one of its descendants links to the page being shown. |
|
Array of menu item |
Required |
The items under this one, in the merchant's order. Menus nest at most three levels. |
|
Boolean |
Required |
True when this item links to the page being shown. Links and the page are compared by path: the query, the fragment and a trailing slash are ignored, and a link to another site is never current. |
|
Boolean |
Required |
Whether the merchant asked for the link to open in a new tab. Always false when url is empty. |
|
Object or null |
Optional; may be null |
What the item links to, for a link to one store item (product, category, collection, blog_post, blog_category, vendor, brand, page or policy): its id and its slug in the shopper's language. The id is the item's own id, the same as that item's id elsewhere in CTX: for a policy link it is the policy's id (policy.id, policies[].id), although the menu stores the policy's type. Lets a theme match its own blocks or images to an item. A custom content link (type metaobject: an entry; metaobject_list: a type's list page) carries the entry's id and handle as slug (the type's id and an empty slug for a list) and metaobject_type, the type's handle. Null for every other type. |
|
Identifier |
Required |
|
|
String |
Optional |
|
|
String |
Required |
|
|
String |
Required |
The item's title in the shopper's language when it is translated, otherwise as the merchant wrote it. |
|
String |
Required |
The link type: home, shop, product, category, category_list, collection, collection_list, blog_post, blog_list, blog_category, vendor, vendor_list, brand, brand_list, page, policy, wishlist, cart, account, search, track_order, delivery, gift_card, metaobject (a custom content entry), metaobject_list (a custom content type's list page), label or custom_url. |
|
URL |
Required |
The link, built for the shopper's country and language from the target's current slug, so it follows renames. Empty for a label, and for an item whose own link no longer opens (target deleted or unpublished; a policy that is not shown, see policies) but that still has children: it then shows as a heading. Such an item with no children is left out. Custom URLs are kept as written; an internal path gets the shopper's language and country prefix. |
Menu summary#
Reusable fields for values shown as the Menu summary type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Integer |
Required |
|
|
String |
Required |
Message#
Reusable fields for values shown as the Message type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Array of string |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
Array of object |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Array of string |
Optional |
|
|
String |
Optional |
Metafield blog post reference#
Reusable fields for values shown as the Metafield blog post reference type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Object or null |
Required; may be null |
The post's author; null when it has none. |
|
Media or null |
Required; may be null |
The author's photo as media (url, alt_text in the shopper's language, width, height); null when none. |
|
URL or null |
Required; may be null |
The photo's address (avatar.url); null when none. |
|
String or null |
Required; may be null |
The author's bio in the shopper's language; null when empty. |
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap. |
|
String or null |
Required; may be null |
The author's name (author.name); null when the post has no author. |
|
Array of object |
Required |
The post's categories by name in the shopper's language, then id. |
|
String |
Required |
|
|
Metafields |
Optional |
The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page. |
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
|
|
Integer |
Required |
Approved comments. 0 while the store has comments turned off, whatever is stored. |
|
String or null |
Required; may be null |
The post's excerpt in the shopper's language; null when it has none. |
|
Media or null |
Required; may be null |
The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none. |
|
String |
Required |
|
|
Metafields |
Optional |
The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page. |
|
Boolean |
Required |
True when the merchant hid the post from search engines. |
|
String |
Required |
When the post was published, as display text: the store's time zone, written the way the shopper's language writes dates and times. Use published_at_iso with the date filter for another format. |
|
Timestamp or null |
Required; may be null |
When the post was published, ISO 8601 in the store's offset. |
|
String or null |
Required; may be null |
The post's own SEO description; null when none is set. |
|
String or null |
Required; may be null |
The post's own SEO title; null when none is set. |
|
String |
Required |
|
|
Media or null |
Required; may be null |
The image shown when the post is shared, as media; null when none is set. |
|
Array of object |
Required |
The post's tags by name in the shopper's language, then id. |
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap. |
|
String or null |
Required; may be null |
The blog post template the merchant assigned; null for the default template. |
|
String |
Required |
|
|
Timestamp |
Required |
When the post last changed, ISO 8601 in the store's offset. |
|
URL |
Required |
Metafield collection reference#
Reusable fields for values shown as the Metafield collection reference type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Optional |
|
|
Identifier |
Required |
|
|
Media or null |
Required; may be null |
|
|
URL |
Optional |
|
|
Metafields |
Optional |
|
|
String |
Required |
|
|
Integer |
Required |
|
|
String |
Required |
|
|
URL |
Required |
Metafield file#
Reusable fields for values shown as the Metafield file type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String |
Required |
|
|
String ( |
Required |
|
|
String |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
Metafield page reference#
Reusable fields for values shown as the Metafield page reference type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
HTML |
Required |
|
|
String |
Required |
|
|
Timestamp |
Required |
|
|
String |
Required |
|
|
Metafields |
Optional |
|
|
Boolean |
Required |
|
|
String or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
String |
Required |
|
|
Media or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
String |
Required |
|
|
String |
Required |
|
|
Timestamp |
Required |
|
|
URL |
Required |
Metafield value#
Reusable fields for values shown as the Metafield value type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Value or null |
Reusable type |
Metafield variant reference#
Reusable fields for values shown as the Metafield variant reference type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Required |
|
|
Object or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
Integer |
Required |
|
|
Object keyed by name |
Optional |
|
|
String |
Dynamic key |
|
|
Value or null |
Required; may be null |
|
|
String |
Optional |
|
|
Product card |
Required |
|
|
String |
Optional |
|
|
String or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
URL |
Required |
Metafields#
Reusable fields for values shown as the Metafields type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object keyed by name |
Reusable type |
|
|
Object keyed by name |
Dynamic key |
|
|
Metafield value |
Dynamic key |
Metaobject entries#
Reusable fields for values shown as the Metaobject entries type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Array of metaobject entry |
Required |
The type's active entries by display name, then id: at most 50. |
|
String |
Required |
The type's handle. |
|
Boolean |
Required |
True when the type has more active entries than entries holds. Link the rest with url when the type has web pages. |
|
String |
Required |
The type's name as the merchant wrote it. |
|
Integer |
Required |
How many active entries the type has. |
|
URL or null |
Required; may be null |
The type's list page in the shopper's language and country path when the type has web pages; null otherwise. |
Metaobject entry#
Reusable fields for values shown as the Metaobject entry type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
The entry's name in the shopper's language: its display field's value, else its handle. |
|
Array of object |
Required |
Every field of the type in the type's order, value included (null when empty): {key, name, type, value}. Use it to show an entry generically; read a known field by its key instead ({{ entry.bio }}). |
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Value or null |
Required; may be null |
|
|
String |
Required |
The entry's handle, unique within its type: the last segment of its page address. |
|
String |
Required |
|
|
Object |
Required |
The entry's SEO title and description in the shopper's language; null when not set. |
|
String or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
String |
Required |
The handle of the entry's custom content type (designer, size_chart, …). |
|
Timestamp |
Required |
When the entry last changed, RFC 3339 with its offset. |
|
URL or null |
Required; may be null |
The entry's page in the shopper's language and country path when its type has web pages; null otherwise. |
|
Value or null |
Dynamic key |
Money input#
Reusable fields for values shown as the Money input type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Decimal string |
Required |
|
|
String |
Required |
Option#
Reusable fields for values shown as the Option type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Array of object |
Required |
|
|
Boolean |
Required |
|
|
String or null |
Required; may be null |
|
|
Object or null |
Required; may be null |
The option's image as media (url, alt_text, width, height): for image attributes, so a swatch can carry alt text and reserve the photo's own shape. Null when the option has no image. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String or null |
Required; may be null |
The option's image file (image attributes); null when it has none. The same file as image.url. |
|
String |
Required |
|
|
Boolean |
Required |
|
|
Boolean |
Required |
|
|
String |
Required |
|
|
Integer or null |
Required; may be null |
Pagination#
Reusable fields for values shown as the Pagination type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Optional |
|
|
Integer |
Required |
|
|
Boolean |
Required |
|
|
Boolean |
Required |
|
|
String |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
Integer |
Required |
|
|
Boolean |
Optional |
|
|
Integer |
Required |
Pagination link#
Reusable fields for values shown as the Pagination link type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Required |
|
|
String |
Required |
|
|
URL |
Required |
Pickup location#
Reusable fields for values shown as the Pickup location type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Array of string |
Required |
The pickup address laid out the way its country writes it, ending with the country name. |
|
String |
Required |
|
|
String |
Required |
|
|
String or null |
Required; may be null |
When shoppers can collect, in the shopper's language; null when not set. |
|
String |
Required |
Send as location_id to the shopping_mode_set action. |
|
String or null |
Required; may be null |
The store's pickup instructions in the shopper's language; null when none. |
|
String |
Required |
|
|
String or null |
Required; may be null |
The location's phone number in E.164 form, for a tel: link; null when the store set none. |
|
String or null |
Required; may be null |
The phone number written for people to read, in its country's international format; null when there is none. Show this, not phone. |
|
String ( |
Required |
|
|
String |
Required |
How soon an order is usually ready, in the shopper's language, for example "Usually ready in 2 hours". |
|
Boolean |
Required |
True for the location the shopper is shopping for pickup at. |
|
Boolean |
Required |
True when, while shoppers shop for pickup here, the catalog lists only products this location stocks (sold-out ones included). |
Presented money#
Reusable fields for values shown as the Presented money type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Tax display result |
Optional |
Price#
Reusable fields for values shown as the Price type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object or null |
Optional; may be null |
The lowest price paid in the 30 days before the current price took effect ({amount, currency_code}, for the money filter); the current price itself is not counted, so a price that was as low earlier in that window shows that earlier price. Shown next to a price reduction as its reference price, for example "Lowest price in the last 30 days: {{ price.lowest_price_30d | money }}" when on_sale. On product pages (the product and its variants) and on product cards (the price the card shows: its variant's when it shows one, such as the matching variant of a filtered list), read for the whole list at once when a template first uses it; null when no earlier price is recorded. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Array of object |
Optional |
The price paid over the last 90 days, oldest first: each point is {date, amount, currency_code}, the price in force from date on (date is RFC 3339 in the store's timezone; amount goes through the money filter like current). The first point is the price in force when the window opened, dated at its start; then every change since, at most 30 points. In the shopper's currency, with the same tax display as current (its primary amount). On product pages only (the product's price and each variant's), read when a template first uses it, in one statement for the whole page; an empty list when no price is recorded. Product cards do not carry it. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Timestamp |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String or null |
Required; may be null |
|
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale ends (RFC 3339 in the store's timezone with its offset); null when the sale has no end date. |
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale starts (RFC 3339 in the store's timezone with its offset); null when the sale has no start date. Use on_sale for whether a sale is running now. |
|
Object |
Optional |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Optional |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Integer or null |
Optional; may be null |
The variant whose price this is (a variable product's "from" price); null when it is not one variant's price. |
Price range#
Reusable fields for values shown as the Price range type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Integer or null |
Optional; may be null |
The variant priced at max_amount. |
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Integer or null |
Optional; may be null |
The variant priced at min_amount. |
|
Object |
Optional |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
Price tier#
Reusable fields for values shown as the Price tier type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Decimal string |
Required |
The price per unit at this quantity as the shopper is shown it, on the same tax basis as the product's price: the break's percent off the price before tax, then the tax display applied, as checkout charges it. |
|
Integer |
Required |
|
|
Decimal string |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Optional |
The break's price with and without tax, as price.tax_display shows the product's price. |
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
Product card#
Reusable fields for values shown as the Product card type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String or null |
Optional; may be null |
Why the product cannot be bought; null when it can. out_of_stock, or in pickup mode not_at_pickup_location when the pickup location does not stock it (a location that stocks it but has sold out says out_of_stock). |
|
String or null |
Optional; may be null |
The shopper message for availability_reason, in the shopper's language: print it, not the code. |
|
Boolean |
Required |
|
|
String or null |
Optional; may be null |
The brand's name in the shopper's language; null when the product has no brand. |
|
URL or null |
Optional; may be null |
The brand's page; null when the product has no brand. |
|
Array of object |
Optional |
The categories the product is assigned to as id, name and slug in the shopper's language and url (the category page), in name order (at most 20), as product.categories has them. For a category line or eyebrow on the card. Read for the whole list in one statement the first time a template uses it on any card; a theme that never prints it reads nothing. |
|
Integer |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
|
|
Variant or null |
Optional; may be null |
|
|
Object or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
Integer |
Required |
|
|
Integer |
Optional |
How many shoppers' carts hold the product, measured every ten minutes (0 when none). For a "In 12 carts" line. |
|
String |
Required |
in_stock, low_stock or out_of_stock: for a variable product, its best-stocked variant's, as on the product page. low_stock is 1 up to the merchant's Overall Low Stock Threshold available (5 when none is set; in pickup mode the pickup location's own Low Stock Threshold first). |
|
Boolean |
Required |
|
|
Object or null |
Required; may be null |
The card's image: the same media as featured_image. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
Metafields |
Optional |
|
|
Array of card offer |
Optional |
The offers this product qualifies for in the visitor's market that the store chose to show on product cards (automatic discounts, discount codes and online payment discounts), in display order (discounts, then payment discounts in checkout's payment method order), at most 2; empty when none. Read once per card list, only when a template uses it. Print card_text, or a code chip from code. |
|
Array of object |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Array of object |
Required |
|
|
String or null |
Required; may be null |
|
|
Object or null |
Required; may be null |
The option's image as media (url, alt_text, width, height): for image attributes, so a swatch can carry alt text and reserve the photo's own shape. Null when the option has no image. |
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String or null |
Required; may be null |
The option's image file (image attributes); null when it has none. The same file as image.url. |
|
String |
Required |
|
|
String |
Required |
|
|
Object or null |
Required; may be null |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object or null |
Optional; may be null |
The lowest price paid in the 30 days before the current price took effect ({amount, currency_code}, for the money filter); the current price itself is not counted, so a price that was as low earlier in that window shows that earlier price. Shown next to a price reduction as its reference price, for example "Lowest price in the last 30 days: {{ price.lowest_price_30d | money }}" when on_sale. On product pages (the product and its variants) and on product cards (the price the card shows: its variant's when it shows one, such as the matching variant of a filtered list), read for the whole list at once when a template first uses it; null when no earlier price is recorded. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Array of object |
Optional |
The price paid over the last 90 days, oldest first: each point is {date, amount, currency_code}, the price in force from date on (date is RFC 3339 in the store's timezone; amount goes through the money filter like current). The first point is the price in force when the window opened, dated at its start; then every change since, at most 30 points. In the shopper's currency, with the same tax display as current (its primary amount). On product pages only (the product's price and each variant's), read when a template first uses it, in one statement for the whole page; an empty list when no price is recorded. Product cards do not carry it. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Timestamp |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String or null |
Required; may be null |
|
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale ends (RFC 3339 in the store's timezone with its offset); null when the sale has no end date. |
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale starts (RFC 3339 in the store's timezone with its offset); null when the sale has no start date. Use on_sale for whether a sale is running now. |
|
Object |
Optional |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Optional |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Integer or null |
Optional; may be null |
The variant whose price this is (a variable product's "from" price); null when it is not one variant's price. |
|
Object or null |
Required; may be null |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Integer or null |
Optional; may be null |
The variant priced at max_amount. |
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Integer or null |
Optional; may be null |
The variant priced at min_amount. |
|
Object |
Optional |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Array of price tier |
Optional |
|
|
Timestamp or null |
Required; may be null |
When the product was published (RFC 3339 in the store's timezone with its offset); null when it never was. For a "New" badge. |
|
String ( |
Required |
|
|
Integer or null |
Required; may be null |
How many of a product without options can be bought now; null for a product with options (a single total would not match any one option; use inventory_status) or one whose stock is not tracked. For an "Only 3 left" or "12 in stock" line. |
|
Object |
Optional |
The approved reviews' average and count; absent when the store's reviews are off or the product has none. |
|
Number |
Required |
|
|
Integer |
Required |
|
|
Array of object |
Optional |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Integer |
Required |
Units sold, as the best-selling sort counts them. For a "Best seller" badge. |
|
Object or null |
Optional; may be null |
|
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
Array of object |
Optional |
In a product grid, the options the shopper's filters or search chose, as the first matching variant has them (for example Colour: Black): the card's image, price, stock and url then follow the variants with those options. Empty when the card shows the product as a whole: no variant-level filter or option word, no variant matching it, or the grid's section turns cards_follow_filters off. |
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Variant or null |
Optional; may be null |
|
|
Boolean |
Optional |
|
|
Object |
Optional |
|
|
Object |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Object |
Required |
|
|
Integer |
Required |
|
|
Boolean |
Required |
|
|
Integer |
Required |
|
|
Boolean |
Required |
|
|
String or null |
Required; may be null |
|
|
String |
Required |
|
|
Array of object |
Optional |
The product's tags as id, name, slug and url, in name order (at most 50), as on the product page. Read with tags, once per card list. |
|
Integer |
Required |
|
|
String |
Required |
The tag's name in the shopper's language (the source name when it has no translation). |
|
String |
Required |
The tag's slug: the same in every language, and the value the tags filter takes (filter.tags= |
|
URL |
Required |
The shop filtered by this tag while the store's tag filter is on; otherwise search results for the tag's name while search returns products, else the shop. |
|
Array of string |
Optional |
The product's tag names in the shopper's language, in name order (at most 50): the names of tag_refs. For badges such as "Vegan" or "New". Read for the whole list in one statement the first time a template uses tags or tag_refs on any card; a theme that never prints them reads nothing. |
|
String |
Required |
|
|
String |
Required |
|
|
URL |
Required |
|
|
Array of variant matrix row |
Optional |
|
|
String or null |
Required; may be null |
The vendor's name in the shopper's language. |
|
URL or null |
Required; may be null |
The vendor's page; null when the product has no vendor. |
Product offer#
Reusable fields for values shown as the Product offer type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
How the shopper gets the offer, for example "Applied automatically" or "Use this code at checkout". |
|
Boolean |
Required |
True when no code is needed (kind automatic or payment). |
|
String or null |
Required; may be null |
The code to enter at checkout (kind code only); null otherwise. |
|
String |
Required |
The offer's conditions joined by " · ", for example "On orders of €50.00 or more" or "When you pay with Stripe"; empty when there are none. |
|
Timestamp or null |
Required; may be null |
When the offer ends (RFC 3339 in the store's timezone with its offset); null when it has no end. |
|
String |
Required |
The discount's or online payment discount's id: stable, for keys and element ids. |
|
String ( |
Required |
automatic: an automatic discount; code: a discount code the store shows; payment: an online payment discount, given when the shopper pays with that payment method. |
|
Object or null |
Required; may be null |
What one unit of the variant the page shows costs with this offer ({amount, currency_code}, for the money filter), worked out the way checkout applies it: the current price less the offer's percentage or amount, capped by its maximum discount. For example "{{ o.savings_text }} · you pay {{ o.price | money }}". Null when one unit bought on its own does not get the offer that way (buy X get Y, bundle and free gift offers, a minimum quantity above one, a minimum spend above the price, or a discount on other variants of the product). Follows the selected variant, as the page is drawn again when the shopper picks one. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String |
Required |
What the shopper saves, for example "15% off", "€15.00 off", "Up to 20% off", "Buy 2, get 1 free". |
|
String |
Required |
The headline: the offer label the store gave the discount or online payment discount, in the shopper's language. |
|
String ( |
Required |
What the offer gives. payment offers are percentage or fixed_amount. For choosing an icon or style only. |
Rating#
Reusable fields for values shown as the Rating type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Number |
Required |
|
|
Integer |
Required |
Selected option#
Reusable fields for values shown as the Selected option type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
Tax display result#
Reusable fields for values shown as the Tax display result type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
Variant#
Reusable fields for values shown as the Variant type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Required |
|
|
String or null |
Optional; may be null |
|
|
String or null |
Optional; may be null |
|
|
String or null |
Optional; may be null |
|
|
String or null |
Optional; may be null |
|
|
Number or null |
Optional; may be null |
|
|
String or null |
Optional; may be null |
Effective value: the variant's own customs HS code, else the product's; null when neither is set. |
|
Integer |
Required |
|
|
String or null |
Optional; may be null |
|
|
Object or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
Integer or null |
Required; may be null |
|
|
String ( |
Required |
|
|
Object or null |
Required; may be null |
|
|
URL |
Required |
|
|
URL |
Required |
|
|
Integer or null |
Required; may be null |
|
|
String |
Required |
in_stock, low_stock or out_of_stock. low_stock is 1 up to the merchant's Overall Low Stock Threshold available (5 when none is set; in pickup mode the pickup location's own Low Stock Threshold first). Display only: what can be bought is available_for_sale and quantity_max. |
|
Number or null |
Optional; may be null |
|
|
Integer or null |
Required; may be null |
|
|
Metafields |
Optional |
|
|
String or null |
Optional; may be null |
|
|
Boolean or null |
Optional; may be null |
|
|
Boolean |
Required |
|
|
Array of object |
Optional |
This variant's stock at every pickup location offered to the shopper, the selected one included, in fulfillment priority order: for "available at other stores". Empty when the store offers no pickup to this shopper. low_stock means 1 up to that location's Low Stock Threshold available there (else the variant's Overall Low Stock Threshold, else 5); a variant that doesn't track inventory is in_stock everywhere. status_label is the status in the shopper's language: print it rather than wording the status yourself. |
|
String |
Required |
|
|
String |
Required |
|
|
String ( |
Required |
|
|
String |
Required |
|
|
Object or null |
Required; may be null |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object or null |
Optional; may be null |
The lowest price paid in the 30 days before the current price took effect ({amount, currency_code}, for the money filter); the current price itself is not counted, so a price that was as low earlier in that window shows that earlier price. Shown next to a price reduction as its reference price, for example "Lowest price in the last 30 days: {{ price.lowest_price_30d | money }}" when on_sale. On product pages (the product and its variants) and on product cards (the price the card shows: its variant's when it shows one, such as the matching variant of a filtered list), read for the whole list at once when a template first uses it; null when no earlier price is recorded. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Array of object |
Optional |
The price paid over the last 90 days, oldest first: each point is {date, amount, currency_code}, the price in force from date on (date is RFC 3339 in the store's timezone; amount goes through the money filter like current). The first point is the price in force when the window opened, dated at its start; then every change since, at most 30 points. In the shopper's currency, with the same tax display as current (its primary amount). On product pages only (the product's price and each variant's), read when a template first uses it, in one statement for the whole page; an empty list when no price is recorded. Product cards do not carry it. |
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Timestamp |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Decimal string |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String or null |
Required; may be null |
|
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale ends (RFC 3339 in the store's timezone with its offset); null when the sale has no end date. |
|
Timestamp or null |
Optional; may be null |
When the merchant's scheduled sale starts (RFC 3339 in the store's timezone with its offset); null when the sale has no start date. Use on_sale for whether a sale is running now. |
|
Object |
Optional |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Object |
Optional |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Integer or null |
Optional; may be null |
The variant whose price this is (a variable product's "from" price); null when it is not one variant's price. |
|
Array of price tier |
Required |
|
|
String ( |
Required |
|
|
Integer or null |
Optional; may be null |
|
|
Integer or null |
Required; may be null |
|
|
Boolean |
Required |
Effective value: the variant's own setting when set, otherwise the product's. False for items that don't need shipping (services, digital goods, tickets, gift cards). |
|
Array of object |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
String |
Required |
|
|
Object |
Optional |
|
|
Object |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Integer |
Required |
|
|
Object |
Required |
|
|
Integer |
Required |
|
|
Boolean |
Required |
|
|
Integer |
Required |
|
|
Boolean |
Required |
|
|
String or null |
Required; may be null |
|
|
String or null |
Required; may be null |
|
|
Number or null |
Optional; may be null |
|
|
String or null |
Optional; may be null |
|
|
Number or null |
Optional; may be null |
Variant matrix row#
Reusable fields for values shown as the Variant matrix row type in this reference. The containing CTX field determines availability.
Field |
Type |
Requirement |
Description |
|---|---|---|---|
|
Object |
Reusable type |
|
|
Boolean |
Required |
|
|
Integer |
Required |
|
|
Object keyed by name |
Required |
|
|
String |
Dynamic key |
|
|
Object |
Optional |
The variant's price ({amount, currency_code, tax_display}); absent when the variant has no price. |
|
Decimal string |
Required |
The variant's price for one unit as the shopper is shown it (the primary amount of tax_display), for the money filter. |
|
String |
Required |
|
|
Object |
Optional |
The variant's price with and without tax, as price.tax_display shows the product's price. |
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
Object |
Optional |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
Boolean |
Required |
|
|
String ( |
Required |
|
|
Object |
Required |
|
|
Decimal string |
Required |
|
|
String |
Required |
|
|
String |
Optional |
price, formatted for display in the shopper's currency. |
|
String |
Optional |
The price before the sale, formatted; present only when the variant is on sale. |
|
String |
Required |