The frontmatter of a product note has these keys, in this order. Their names do not change between versions.
| Key | Meaning |
|---|---|
type | shopify_product |
granite_managed | true: the note is kept in sync by the app |
shopify_id | The product's ID in Shopify |
handle, title, status | As in Shopify (status is active, draft, or archived) |
vendor, product_type, tags | As in Shopify |
price | Lowest and highest variant price and the currency, as Shopify shows them |
inventory_total | Units available across locations |
collections | Links to the collection notes |
options | Option names and their values |
featured_image, url, admin_url | The main image, the storefront page, the page in your Shopify admin |
shopify_created_at, shopify_updated_at, synced_at | When the product was created and changed in Shopify, and when the note was last written |
The body lists variants (SKU, price, compare-at price, stock per location, barcode), media, metafields, SEO, and the product's subscription plans.