Granite
Granite for Shopify

Which fields does a product note have?

Every product note has the same frontmatter keys, in the same order, so you can rely on them.

The frontmatter of a product note has these keys, in this order. Their names do not change between versions.

KeyMeaning
typeshopify_product
granite_managedtrue: the note is kept in sync by the app
shopify_idThe product's ID in Shopify
handle, title, statusAs in Shopify (status is active, draft, or archived)
vendor, product_type, tagsAs in Shopify
priceLowest and highest variant price and the currency, as Shopify shows them
inventory_totalUnits available across locations
collectionsLinks to the collection notes
optionsOption names and their values
featured_image, url, admin_urlThe main image, the storefront page, the page in your Shopify admin
shopify_created_at, shopify_updated_at, synced_atWhen 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.