support@schemaclinic.com Free JSON-LD checker Free schema generator Shopify App Store
AI search

Structured data for AI shopping agents

AI shopping agents can search, compare and in some cases buy on a shopper's behalf. They work from product facts. If yours are missing or contradict each other, an agent has less reason to pick you.

Short answer: AI shopping agents compare products on hard facts: price, currency, availability, brand, GTIN, variants and ratings. They get those facts from catalogues and feeds (such as Shopify Catalog and Google Merchant Center) and from your pages, including the structured data. Agents cannot ask you what you meant, so the facts need to be complete and the same everywhere. Structured data is one of the clearest ways to state them on the page; it does not guarantee an agent will choose you.

What an AI shopping agent is

An AI shopping agent is an assistant that does more than answer questions. It can search across shops, compare options against what the shopper asked for, and in some products complete the checkout. Examples as of November 2026 include checkout inside Microsoft Copilot and agentic checkout in Google's AI Mode and Gemini for eligible merchants, both of which Shopify lists as direct checkout options for agentic storefronts.

New standards are appearing to connect agents and shops, such as OpenAI's Agentic Commerce Protocol and Google's Universal Commerce Protocol. For Shopify merchants, Shopify handles these connections through agentic storefronts and Shopify Catalog. You do not need to build them yourself.

The product facts agents compare

Factschema.org propertyShopify sourceWhy an agent cares
Price and currencyoffers.price, priceCurrencyVariant price, market currency"Under £50" filters
Availabilityoffers.availabilityInventoryAn agent will not recommend something it thinks is sold out
BrandbrandVendorBrand requests and matching
GTIN / barcodegtin, gtin13 etc.Variant barcodeMatching the same product across shops
SKU / MPNsku, mpnVariant SKUExact model matching
RatingsaggregateRatingReviews app"Best rated" questions
Attributescolor, size, materialOptions, metafieldsMatching specific needs
Returns and shippinghasMerchantReturnPolicy, shippingDetailsPolicies, shipping settings"Free returns" and delivery questions

Property definitions: schema.org/Product and schema.org/Offer.

Why consistency matters more than volume

More schema is not better schema. An agent reading a page with two Product blocks, one saying £39 in stock and one saying £45 with no availability, has a problem a person would not have. It has no reliable way to know which is current. The safe choice for it is to trust neither, or to take its facts from somewhere else.

The same applies across sources. Your catalogue, your Merchant Center feed, your visible page and your structured data should all say the same price, the same brand and the same stock state. Google's own guidance asks that structured data match the visible page, and that principle is the sensible default for any machine reader.

The most common source of conflicts on Shopify is not the theme. It is apps: a reviews app, an SEO app and a feed app each adding their own Product markup on top of the theme's.

GTINs: the fact most shops leave out

A GTIN (the barcode number: EAN in the UK and Europe, UPC in the US) is how machines know that your "Acme Trail Shoe, Blue, UK 9" is the same item another shop sells. Without it, an agent compares on names and photos, which is far less reliable.

In Shopify the GTIN lives in each variant's Barcode field. If you make your own products and have no barcodes, leave it empty rather than inventing one; use a clear brand and an mpn or SKU instead.

What a clean Product block looks like

One Product, one Offer per variant or a clear single offer, all fields matching the page:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://example.com/products/trail-shoe#product",
  "name": "Acme Trail Shoe",
  "brand": { "@type": "Brand", "name": "Acme" },
  "sku": "ATS-BLU-9",
  "gtin13": "5012345678900",
  "image": "https://example.com/cdn/trail-shoe.jpg",
  "offers": {
    "@type": "Offer",
    "price": "89.00",
    "priceCurrency": "GBP",
    "availability": "https://schema.org/InStock",
    "url": "https://example.com/products/trail-shoe",
    "seller": { "@id": "https://example.com/#organization" }
  }
}
</script>

The seller points by @id to your Organization schema, so the product and the business are linked into one graph. See Product schema and Organization schema for each field.

Where Schema Clinic helps

Schema Clinic is built for exactly this clean-up:

  • Audit (Starter, $9.99/month): finds every Product block on your pages, including ones injected by JavaScript, names the source, and flags duplicates, conflicts and missing fields like brand, gtin, offers and aggregateRating.
  • Generate and deploy (Pro, $19.99/month): builds Product schema from your Shopify data with offers, brand, SKU, GTIN, MPN, images and attributes, plus aggregateRating where review data exists, linked by @id to your Organization. It is deployed through an app embed, with no theme code edited.

To be clear about limits: the generator does not output return policy, shipping details or ProductGroup markup. The audit does check those fields where they exist. There is no free plan or trial.

Beyond schema: the rest of the job

  • Keep products complete in the Shopify admin, because Shopify Catalog sends that data to AI channels directly.
  • Publish clear Return and refund, Shipping and Terms policies. Shopify requires the policies for agentic storefront eligibility.
  • Write descriptions that state facts: materials, dimensions, compatibility, care.
  • Keep Merchant Center free of disapprovals.

The AI readiness checklist puts all of this in order.

Questions people ask

Do AI shopping agents read schema.org markup?
Some AI systems have said they use structured data to understand pages, but most do not document exactly how agents use it. Agents for Shopify stores also get product data directly from Shopify Catalog. Treat schema as one consistent source of facts, not the only one.
What is the most important product fact for AI agents?
Price and availability, because an agent will not recommend something it cannot confirm is in stock at a known price. After that, brand and GTIN, which let it match your product to what the shopper asked for.
Should I add a GTIN if my products do not have barcodes?
No. Never invent a GTIN. Leave the barcode empty and use a clear brand plus SKU or MPN instead.
Do I need to integrate the Agentic Commerce Protocol or UCP myself?
Not usually on Shopify. Shopify connects eligible stores to AI channels through agentic storefronts and Shopify Catalog. Check Sales channels > Agentic in your admin.
Does Schema Clinic add return policy and shipping schema?
No. The generator does not output MerchantReturnPolicy or OfferShippingDetails. The audit recognises and checks those fields if your theme or another app adds them.

See what Google sees on your store

Run an audit in minutes. Every schema block, every error and duplicate, with its source.

Install Schema Clinic