Product schema for AI agents: the facts they read before your copy
The short answer
Put a schema.org Product in JSON-LD on every product page with its name, image, brand, a GTIN, MPN or SKU, and an Offer that holds the price, priceCurrency and availability. Add shippingDetails and hasMerchantReturnPolicy so an agent buying for someone can see delivery and returns. Every value must match what the page shows. With these fields an agent can compare your product with other stores' without parsing your description.
Why do AI agents read structured data first?
An agent comparing ten stores needs the same facts from each one: what it is, what it costs, whether it is in stock, when it arrives, whether it can come back. Prose puts those facts in a different place on every site. Schema.org markup puts them in named fields, so an agent can read them in one pass and compare like with like. It is the same markup Google uses for merchant listings, so the work serves search and agents at once. The same facts also go into the feeds that shopping assistants take directly: see the ChatGPT product feed and Google AI Mode shopping.
Which Product and Offer properties matter?
Google marks the first four as required for merchant listings. The rest are recommended, and they are the ones a shopping agent needs to finish the job.
| Property | Why an agent needs it | |
|---|---|---|
name | Required | Which product this is. |
image | Required | Lets an assistant show the person what it found. |
offers.price | Required | The number it compares. A number, not "From $49" text. |
offers.priceCurrency | Required | Three-letter code, such as USD. |
offers.availability | Recommended | Whether it can be bought now (InStock, OutOfStock, PreOrder). |
gtin, mpn, sku | Recommended | Matches the exact product across stores, so the agent is comparing the same thing. |
brand.name | Recommended | Answers "is this the brand they asked for". |
offers.shippingDetails | Recommended | Delivery time, cost and destination. |
offers.hasMerchantReturnPolicy | Recommended | Return window and conditions. |
aggregateRating | Recommended | Ratings, only if they come from real reviews shown on the page. |
What does product JSON-LD look like?
A trimmed example for one product. Put it in a <script type="application/ld+json"> tag on that product's page.
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trail Runner 2 waterproof shoe",
"image": "https://shop.example.com/img/trail-runner-2.jpg",
"sku": "TR2-WP-10",
"gtin13": "0012345678905",
"brand": { "@type": "Brand", "name": "Example Outdoor" },
"offers": {
"@type": "Offer",
"url": "https://shop.example.com/trail-runner-2",
"price": 129.00,
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"shippingDetails": {
"@type": "OfferShippingDetails",
"shippingRate": { "@type": "MonetaryAmount", "value": 0, "currency": "USD" },
"shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 1, "unitCode": "DAY" },
"transitTime": { "@type": "QuantitativeValue", "minValue": 2, "maxValue": 5, "unitCode": "DAY" }
}
},
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"applicableCountry": "US",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 30
}
}
}
Every value in it is made up for the example. Products with sizes or colors can use a ProductGroup with one Product per variant, each with its own Offer.
Does the rest of the site need markup?
Yes, a little. An Organization on the home page (name, logo, url and contact details) tells an agent who runs the store, which matters when it decides whether a purchase is safe. Pricing pages for services can use Service or Product with an Offer in the same way.
What mistakes make agents distrust product markup?
- Markup that disagrees with the page. Google requires structured data to match the visible content, and an agent that finds two different prices cannot tell which one is true.
- Price as text. "From $49" or "$49.00 USD" in the price field instead of a number and a separate currency.
- Markup only after JavaScript. If a script injects the JSON-LD late, agents that read raw HTML never see it. Render it into the page.
- Ratings with no reviews behind them. Only mark up ratings from real reviews that appear on the page. Invented ratings break Google's rules and consumer protection law.
- One block for the whole catalog. Each product page describes its own product. A category page listing many products should not claim to be one Product.
Sources
- Merchant listing (Product, Offer) structured data (Google Search Central)
- schema.org/Product and schema.org/Offer (schema.org)