Schema.org for E-commerce: Which Structured Data Does Your Online Store Need?

A technical guide to product schema, variants, shipping, returns, B2B pricing and Merchant Center for e-commerce platforms.

Stefan Međedović

Author: Stefan Međedović · Head of Search

Key points

  • Product and Offer describe identity and actual purchase terms.
  • Product snippets and merchant listings have different requirements.
  • B2B products without public prices must not contain fabricated offers.
  • HTML, JSON-LD and product feeds should derive from consistent data sources.
  • Validation covers syntax, eligibility for search features and business data quality.

For an online store, structured data matters wherever products, variants and specific offers need to be described in machine-readable form. Product and Offer are the foundation for purchasable items; ProductGroup represents variants, BreadcrumbList navigation and Organization or OnlineStore the merchant. Shipping, returns and reviews are added when applicable.

Required properties depend on the target search feature. A catalogue without public prices needs different markup from a B2C store offering direct purchases. Visible product information, JSON-LD and external product feeds must represent the same business state.

This guide helps e-commerce leaders, technical SEO specialists and engineers select, generate and operate product markup.

Schema.org, JSON-LD and Google rich results are different things

Schema.org¹ defines a vocabulary for entities and their relationships. JSON-LD is one way of embedding it in a web page. Product describes the item; Offer describes specific commercial terms. Stable @id values connect entities within a graph.

Google uses a subset of the vocabulary for particular search features. Its e-commerce structured data guide² explains the relevant types. Valid Schema.org markup does not automatically make a page eligible for a particular rich result; eligibility does not guarantee display or a better ranking.

Select markup according to page type, business model and target surface. A category lists products rather than representing one item; a product detail page can connect identity, technical properties, offers and genuine reviews. Our e-commerce SEO guide covers the broader URL and indexing strategy.

Which Schema.org types does an online store need?

TypeWhere to useRole
Product / OfferPurchasable product pageCore product search features
ProductGroupProduct family with variantsWhen variants exist
Organization / OnlineStoreCompany or store pageMerchant identity and policies
WebSite / BreadcrumbListHomepage / navigable pagesWebsite and hierarchy
MerchantReturnPolicy / ShippingServiceStore-wide policiesWhere applicable
OfferShippingDetailsIndividual offer with different rulesWhere applicable
Brand / Review / AggregateRatingProduct pageOnly genuine, verifiable information
AggregateOfferMultiple offers for the same productNot a substitute for variants; Product Snippets
CollectionPage / ItemListCategory or listSemantics; no general product rich result eligibility
PropertyValue / CertificationTechnical attributes / certificationOnly verified properties
LocalBusiness / VideoObjectStore location / relevant video pageWhen content supports it

Product snippets and merchant listings: different requirements

Product snippets can enrich search results even for pages that do not sell directly. Google requires at least a product name and an appropriate offer or qualifying review data. Merchant listings target pages where products can be purchased and impose stricter image and offer requirements. Consult the specifications for product snippets³ and merchant listings⁴.

The matrix covers the key fields, not every possible property or nested validation rule. Additional requirements depend on the type and use case. Distinguish missing recommendations from missing mandatory properties.

Required and recommended product markup properties

PropertyProduct SnippetMerchant Listing
Product.nameRequiredRequired
Product.imageNot listed as required or recommended; useful in practiceRequired
Product.offersOffer or AggregateOffer as an alternative to Review/AggregateRatingSpecific Offer required
Offer.price / supported priceSpecificationRequired with Offer; 0 only for genuinely free productsActive price > 0 required
AggregateOffer.lowPrice / priceCurrencyBoth required when using AggregateOfferNot a substitute for Offer
Product.descriptionUseful in practiceRecommended
Offer.priceCurrencyRecommended with Offer; required with AggregateOfferRequired, matching the price property
Offer.availabilityRecommendedRecommended
Product.brandAdditionalRecommended
Product.gtin / mpn / skuAdditionalRecommended where applicable
Product.review / aggregateRatingAlternative to offersOptional, genuine reviews only
Offer.shippingDetails / hasMerchantReturnPolicyNot a core requirementAdditional, for differing policies

Separate product identity from the offer

An SKU identifies the sellable unit within the business. A GTIN is a standardized product identifier: use an authoritative value and never invent a substitute. An MPN is a manufacturer part number and is not necessarily the store SKU. Brand identifies the actual product brand, not necessarily its seller.

Define a stable product identifier independent of language and URL changes. In the graph, @id identifies an entity; url points to an accessible page. Product and Offer play different roles because an item can have different terms by market or channel. A seller need not be the manufacturer.

The hypothetical industrial light below illustrates the relationship between store, website, product and breadcrumbs. Names, URLs, prices and return terms are fictional. Real implementations must reflect visible and valid information. Maintain store-wide policies centrally rather than editing them independently in every template.

The example URLs and commercial terms refer to a fictional German market. Adapt them to the actual market, language and visible product data before implementation.

JSON-LD example: Product, Offer, OnlineStore and BreadcrumbList

Illustrative graph for one item. In production, publish the store node centrally and reuse its @id.

JSON
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "OnlineStore",
      "@id": "https://example.com/#shop",
      "name": "Beispieltechnik Store",
      "url": "https://example.com/",
      "hasMerchantReturnPolicy": {
        "@type": "MerchantReturnPolicy",
        "applicableCountry": "DE",
        "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
        "merchantReturnDays": 30,
        "returnMethod": "https://schema.org/ReturnByMail",
        "returnFees": "https://schema.org/FreeReturn",
        "returnPolicyCountry": "DE",
        "refundType": "https://schema.org/FullRefund",
        "itemCondition": "https://schema.org/NewCondition"
      }
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "url": "https://example.com/",
      "name": "Beispieltechnik Store",
      "publisher": {
        "@id": "https://example.com/#shop"
      }
    },
    {
      "@type": "Product",
      "@id": "https://example.com/de/produkte/industrieleuchte#product",
      "name": "Industrial light L100",
      "description": "Industrial light with aluminium housing, 24 V.",
      "image": "https://example.com/images/l100.jpg",
      "sku": "L100-24",
      "mpn": "L100-24",
      "brand": {
        "@type": "Brand",
        "name": "Beispieltechnik"
      },
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/de/produkte/industrieleuchte",
        "price": 89,
        "priceCurrency": "EUR",
        "availability": "https://schema.org/InStock",
        "itemCondition": "https://schema.org/NewCondition",
        "seller": {
          "@id": "https://example.com/#shop"
        }
      },
      "url": "https://example.com/de/produkte/industrieleuchte"
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://example.com/de/produkte/industrieleuchte#breadcrumbs",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://example.com/de/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Industrial lights",
          "item": "https://example.com/de/industrieleuchten"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Industrial light L100",
          "item": "https://example.com/de/produkte/industrieleuchte"
        }
      ]
    }
  ]
}

Model product variants with ProductGroup

ProductGroup represents a family; Product represents an individual variant. productGroupID and variesBy describe the grouping; hasVariant or isVariantOf links the concrete variants. Each purchasable variant needs a stable identity, its own relevant properties and the correct offer. Google's product variant documentation⁵ distinguishes single-page and multi-page models.

On a shared product page, a variant URL must restore the chosen variant on direct access. On separate pages, markup must match the displayed variant. Canonical URLs, hreflang, internal links and feed URLs depend on the chosen model; canonicalising every variant to the parent is not universally appropriate.

Colour is used in this example. Industrial products may differ in material, dimensions or configuration; not every Schema.org property is supported as a variant dimension by Google. Model technically correct properties even where they do not enable rich results.

Google requires a single canonical URL for the product group in the single-page model. In the multi-page model with equally important variant pages, there is no single canonical URL for the group. Each selectable variant must be directly accessible.

JSON-LD example: ProductGroup with two variants

Fictional single-page model. Each variant URL must preselect the relevant colour and display its price.

JSON
{
  "@context": "https://schema.org",
  "@type": "ProductGroup",
  "@id": "https://example.com/de/produkte/l200#group",
  "name": "Industrial light L200",
  "description": "Industrial light in two housing colours.",
  "productGroupID": "L200",
  "brand": {
    "@type": "Brand",
    "name": "Beispieltechnik"
  },
  "variesBy": ["https://schema.org/color"],
  "hasVariant": [
    {
      "@type": "Product",
      "@id": "https://example.com/de/produkte/l200?farbe=schwarz#product",
      "name": "Industrial light L200 black",
      "sku": "L200-SW",
      "color": "black",
      "image": "https://example.com/images/l200-schwarz.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/de/produkte/l200?farbe=schwarz",
        "price": 89,
        "priceCurrency": "EUR",
        "availability": "https://schema.org/InStock",
        "itemCondition": "https://schema.org/NewCondition",
        "seller": {
          "@type": "OnlineStore",
          "@id": "https://example.com/#shop",
          "name": "Beispieltechnik Store"
        }
      },
      "url": "https://example.com/de/produkte/l200?farbe=schwarz",
      "description": "Industrial light L200 with black housing."
    },
    {
      "@type": "Product",
      "@id": "https://example.com/de/produkte/l200?farbe=silber#product",
      "name": "Industrial light L200 silver",
      "sku": "L200-SI",
      "color": "silver",
      "image": "https://example.com/images/l200-silber.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/de/produkte/l200?farbe=silber",
        "price": 99,
        "priceCurrency": "EUR",
        "availability": "https://schema.org/OutOfStock",
        "itemCondition": "https://schema.org/NewCondition",
        "seller": {
          "@type": "OnlineStore",
          "@id": "https://example.com/#shop",
          "name": "Beispieltechnik Store"
        }
      },
      "url": "https://example.com/de/produkte/l200?farbe=silber",
      "description": "Industrial light L200 with silver housing."
    }
  ],
  "url": "https://example.com/de/produkte/l200"
}

Prices, availability and quantities: business rules before syntax

An offer describes the currently available commercial terms. Retrieve price and currency from an authoritative service. For example, use 89.00 and EUR rather than a localized string with a currency symbol. Visible price, markup and feed must agree.

availability describes orderability from the customer's perspective, not just warehouse stock. An item in stock may be blocked for a market; another may be available on backorder. Map internal states to InStock, OutOfStock, PreOrder or BackOrder as applicable, without treating missing data as InStock.

AggregateOffer summarizes multiple offers for the same product; it does not replace variant modeling or a concrete purchasable offer. UnitPriceSpecification and reference quantities can be useful for unit, weight or volume pricing. Consult the merchant listing specification⁴ for supported price types and units. A tiered pricing table cannot always be reduced to one price.

Merchant listings require a positive active price; a genuinely free product can have a zero price for product snippets. If both Offer.price and an active priceSpecification.price are provided, Google uses Offer.price. AggregateOffer requires lowPrice and priceCurrency for product snippets.

Shipping, returns and reviews

For merchants with consistent shipping policies, ShippingService at organization level⁶ is an option. OfferShippingDetails can describe differing offer terms. The following example describes a destination, rate and delivery intervals; embed it as shippingDetails within Offer, not as a substitute for the offer.

MerchantReturnPolicy⁷ describes published return rules. General policies belong at merchant or organization level; product-specific exceptions can be attached to offers. Check market, window, method and costs. Markup does not replace visible terms or legal review.

Review and AggregateRating must describe genuine reviews associated with the product. A merchant review is not a product review. Omit ratings when none exist; never fabricate stars or transfer scores between variants without a defensible association.

JSON-LD example: offer-level shipping terms

Hypothetical fragment for shipping to Germany. handlingTime and transitTime describe separate intervals.

JSON
{
  "@context": "https://schema.org",
  "@type": "OfferShippingDetails",
  "shippingDestination": {
    "@type": "DefinedRegion",
    "addressCountry": "DE"
  },
  "shippingRate": {
    "@type": "MonetaryAmount",
    "value": 6.9,
    "currency": "EUR"
  },
  "deliveryTime": {
    "@type": "ShippingDeliveryTime",
    "handlingTime": {
      "@type": "QuantitativeValue",
      "minValue": 0,
      "maxValue": 1,
      "unitCode": "DAY"
    },
    "transitTime": {
      "@type": "QuantitativeValue",
      "minValue": 2,
      "maxValue": 4,
      "unitCode": "DAY"
    }
  }
}

Category pages, navigation and merchant identity

BreadcrumbList represents navigational paths. CollectionPage and ItemList can describe categories or lists semantically, but do not grant general eligibility for product rich results on category URLs. A list of twenty items is not a page about a single product.

Organization or its more specific subtype OnlineStore describes the merchant. Connect it using a stable @id and genuine company information, profiles and policies. WebSite describes the site, not the organization. LocalBusiness can complement the graph for actual physical locations.

Technical properties can be represented using suitable Schema.org properties or additionalProperty with PropertyValue. Use Certification only for verified certifications. A relevant product video may warrant VideoObject when its own search feature is useful. Assess each supported feature rather than maximizing the number of types.

Schema.org for B2B commerce and industrial products

B2B catalogues frequently involve customer-specific prices, minimum quantities, account-specific assortments and quotation workflows. A public catalogue can therefore contain a meaningful Product without Offer. Price on request is not a numeric price; a zero placeholder would falsely indicate a free product. Private contractual terms must not appear in crawlable JSON-LD or public feeds.

For configurable machinery, distinguish the product family, selectable configuration and concrete offer. A freely configurable system does not automatically have publicly purchasable variants. Technical specifications, connection dimensions, materials and manufacturer identity remain useful machine-readable information.

The hypothetical pressure sensor below has no public purchase price. Without a specific purchase offer it cannot qualify for merchant listings; without a suitable offer or qualifying review data it cannot qualify for product snippets either. If public purchase offers are introduced later, extend the model with Offer.

JSON-LD example: B2B product without public price

Semantic product description, not a claim of rich result eligibility.

JSON
{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://example.com/de/produkte/drucksensor-d40#product",
  "name": "Pressure sensor D40",
  "image": "https://example.com/images/d40.jpg",
  "description": "Pressure sensor for industrial applications, measuring range 0 to 10 bar. Price on request.",
  "sku": "D40-10",
  "mpn": "D40-10",
  "brand": {
    "@type": "Brand",
    "name": "Beispieltechnik"
  },
  "additionalProperty": [
    {
      "@type": "PropertyValue",
      "name": "Measuring range",
      "value": "0–10 bar"
    },
    {
      "@type": "PropertyValue",
      "name": "Connection",
      "value": "G 1/4"
    }
  ],
  "url": "https://example.com/de/produkte/drucksensor-d40"
}

Generate Merchant Center feeds and JSON-LD from the same model

A feed supplies external product surfaces; JSON-LD describes the landing page semantically. Formats differ, but identity, price and orderability should agree. Google explains their relationship in its product structured data overview⁸. Check the separate Merchant Center product data specification⁹ for feed requirements.

Maintain stable mappings between internal SKU, feed ID, variant grouping and landing page. Price and availability changes must reach affected outputs. Automatic item updates may mitigate certain mismatches, but cannot replace maintained feeds and consistent landing pages.

For international stores, include market explicitly in data queries. German and Austrian offers may share a language but have different shipping terms. Currency, price, availability and URL must match the selected market. hreflang links corresponding language and market pages; canonical URLs and sitemaps must support the indexable URL model. Avoid markup dependent solely on IP detection or login.

Merchant Center feeds and JSON-LD have distinct required fields. Check feed ID and, where applicable, item_group_id separately; productGroupID alone does not replace feed grouping. Also verify the availability of the relevant Merchant Center program in the target market.

Product data architecture: from ERP and PIM to HTML

A small store may use the commerce system as the authoritative source for almost every field. In integrated environments, PIM may own product attributes, ERP or a pricing service the commercial terms, an inventory service orderability and CMS editorial content. Exact ownership is an architecture decision, not a universal rule.

We recommend an explicit public product offer model connecting product ID, variant ID, market, language, currency, price, orderability and validity. A mapping translates it into visible details, JSON-LD and feed. This accommodates differences between output channels without maintaining three independent definitions of the same price.

Data ownership and technical acceptance criteria

DataPossible authoritative sourceAcceptance criteria
Product identity, GTIN, MPN, variantsPIM / product masterStable IDs and unambiguous variant relationships
Price, currency, validityERP / pricing serviceHTML, JSON-LD and feed agree per market
AvailabilityERP / inventory serviceOrderability rather than unchecked stock count
Description, images, languagePIM / CMSApproved visible content
Shipping and returnsCommerce / policy serviceValid per country, product and offer
ReviewsReview systemApproved product-specific reviews only

Updates and failure handling

Change events from authoritative systems can trigger targeted product page and feed updates. Use versions or business timestamps to prevent delayed events from restoring an older price. Idempotent processing and retries prevent duplicate messages from producing incorrect states.

Define cache validity. Statically generated frontends with long cache lifetimes may misrepresent changing backend inventory. Refresh or invalidate affected pages and feeds when data changes. If price or orderability is unknown, the pipeline must follow a defined failure path rather than inventing a seemingly valid offer.

Compare HTML, JSON-LD and feed by SKU and market, either through sampling or automated checks. Monitor mismatch rates, missing IDs, update latency and rejected offers. Thresholds depend on the business process. See our omnichannel integration guide for the architecture behind these patterns.

Implementation in Shopify, WooCommerce and headless commerce

Existing Shopify or WooCommerce storefronts may already generate product markup. Inspect rendered HTML and active extensions before installing an additional SEO plugin. Duplicate Product nodes become particularly problematic when prices or availability conflict. Assign responsibility for markup generation by page type.

In headless or composable commerce, the frontend must derive the graph from APIs. Server-side rendering alongside visible product state is a robust starting point, especially for changing prices. Client-side markup is possible but requires checking rendered output and crawl conditions. Serialize JSON safely so uncontrolled values cannot terminate a script element.

The WOLFF & MÜLLER Quarzsande project illustrates a move from WooCommerce towards composable commerce. The PROTEKTOR merchandise store illustrates Shopify with invoicing integration. These are platform architecture examples, not evidence of Schema.org implementation or measured SEO gains.

Structured data and AI visibility

Machine-readable product identity, consistent offers and explicit relationships support interpretation of public information. This does not imply that ChatGPT, Perplexity or other systems consume every Schema.org field. Crawlers, feeds and search surfaces differ by provider.

Google's guide to generative AI search features¹⁰ emphasizes established SEO foundations. No special AI markup is required. Clear product descriptions, crawlable pages and accurate entities remain useful, without guaranteeing inclusion or citation.

Validation: three distinct checks

First, check JSON syntax and vocabulary relationships with the Schema Markup Validator. Second, check supported Google features with the Rich Results Test. Third, check business consistency against visible offers and authoritative systems. Validators cannot reliably determine whether a GTIN belongs to the item or a price is outdated.

Test representative products: no variants, multiple variants, promotions, out of stock, multiple markets and no public price. Open variant URLs directly. Confirm that markup matches the visible state. Repeat tests after price changes, feed updates, template releases and migrations.

After rollout, Search Console product reports, Merchant Center diagnostics and internal checks provide different signals. Distinguish errors, warnings and business discrepancies. A passing test does not guarantee indexing, display or revenue.

Technical acceptance checklist

1. Define target search features by page type and market. 2. Inventory sources, IDs, families and offer rules. 3. Define a public offer model and output mappings. 4. Check required and recommended fields for each Google feature. 5. Remove conflicting or outdated markup from parallel generators.

6. Align variant URLs, canonicals and language versions. 7. Check shipping, returns and reviews against visible information. 8. Validate representative pages and rendered HTML. 9. Compare feeds, HTML and JSON-LD after changes. 10. Assign ownership and failure resolution for data, templates and integrations.

Frequently asked questions

Does every store need every Schema.org type? No. Page type, business model and target feature determine what is relevant. Extra types without corresponding content offer no defensible benefit.

Do I need Merchant Center when using Product markup? Not for every product search feature. They are distinct channels, and Merchant Center programs have separate participation and data requirements.

Can I mark up a product without a GTIN? Yes, if other requirements are met. Use existing, correct identifiers and never invent a GTIN. Merchant Center may have specific identifier requirements by product.

Is Schema.org a ranking factor? Successful validation does not establish a ranking improvement. Markup can support interpretation and eligibility for supported displays, but guarantees neither display nor position.

How often should markup be updated? Whenever relevant public product data changes. The update cadence depends on pricing, inventory and publication processes.

Conclusion: structured data belongs in the commerce architecture

A reliable implementation begins with the product and offer model, not an SEO plugin. Define what may be public, which search feature matters and which system owns each field. That produces consistent pages, markup and feeds that remain verifiable as data changes.

Through Search & AI Visibility, we assess the technical discoverability and markup of product information. When causes lie in interfaces, product models or storefronts, we develop the relevant integrations through Platform Engineering. Start with a technical assessment of representative products and the underlying data flows.

Search & AI Visibility

Are your structured product data consistent?

We assess representative product pages, variants, JSON-LD and merchant feeds against your data sources and identify concrete technical improvements.

Analyze Visibility

Stefan Međedović

Head of Search

stefan@valanor.co

Stefan Međedović