Catalog raises $3M to build the product data layer for AI commerce. Read the announcement.
All posts
Product Data

A canonical data model separates product data from channel formats

A canonical data model for ecommerce separates shared product meaning from schema and data mapping across storefronts, feeds, marketplaces, and AI commerce.

Product data moves between supplier files, a product information management (PIM) system, an enterprise resource planning (ERP) system, storefronts, marketplaces, and AI shopping surfaces. The same jacket may be one parent record in one system, six sellable variants in another, and six rows in a channel feed. If those shapes dictate your shared product logic, each new channel multiplies exceptions. The work starts with a clear shared model, then explicit translations at each boundary.

What a canonical data model means for ecommerce

A canonical data model is a system-neutral contract for the entities, fields, relationships, and rules your systems need to share. It describes business meaning independently of a vendor's application programming interface (API) layout. Its meaning can be expressed in tables, JavaScript Object Notation (JSON) objects, or API payloads, while each system keeps its own schema.

For ecommerce, the shared contract often covers product identity, variants, attributes, media, categories, and product relationships. It may also include an offer entity when selling terms vary by seller, market, or channel. Include what needs to cross system boundaries. Keep channel-only fields in that channel's adapter unless another consumer needs the same business fact.

Canonical means an agreed reference representation; ownership can remain distributed. Your ERP may own inventory, a PIM may own approved copy, a digital asset system may own image rights, and a storefront may own the live product URL. Record the owner and update time for each field, then map its accepted value into the shared representation.

The wider ecommerce product-data guide covers logistics, fulfillment, policies, and provenance. A canonical model only works when its scope and relationships are clear.

At Catalog, we focus on the distribution side of this problem. We structure product data, publish it to AI shopping surfaces, keep it synced, and measure outcomes. A shared model defines what the product facts mean; distribution should preserve those meanings as data moves to each surface.

The model, schema mapping, and data mapping do different jobs

These terms often overlap in everyday use. In data integration, schema matching identifies which parts of two schemas correspond, while schema mapping describes transformations between them, as covered in schema mapping research. For ecommerce work, document the shared model, structural correspondences, and field-level transformations separately.

LayerWhat it definesEcommerce example
Canonical data modelShared entities, meanings, fields, and relationshipsA product family contains variants. An optional offer records selling terms for a variant in a seller, channel, or market context.
Schema mappingHow source and destination structures correspond, including nesting, cardinality, and entity relationshipsA storefront's Product with nested ProductVariant objects becomes separate family and variant records. A feed may flatten each variant into one row.
Data mappingThe field and value rules that populate one structure from anotherMap options.color to variant.color, convert Midnight to Navy under a documented color rule, and map availability to a destination's accepted code.

Formal schema mappings can include the full transformation specification. The useful operating distinction is to write down structure-level rules separately from field and value rules. A canonical model acts as the shared target that both mappings use.

Model product families and variants; add offers when needed

Many integration errors start when teams collapse the shared style, the sellable item, and the commercial terms into one record. A practical model separates the product family and variant, then adds an offer entity when selling terms need their own context:

EntityMeaningExample fields
Product familyShared facts about a style or product groupfamily_id, brand, base title, product type, shared materials
VariantOne identifiable sellable configurationvariant_id, stock keeping unit (SKU), Global Trade Item Number (GTIN, when assigned/applicable), size, color, variant-specific image
Offer (optional)Selling terms for a variant when they vary by contextSeller, market, channel, price, currency, availability, condition, validity dates

Some products have no GTIN assigned, so keep the field optional and populate it only when applicable. Google's GTIN guidance says you don't need to submit one if none is assigned.

Put each fact at the level where it can vary. If every color and size has the same material, material can sit on the family. If color and size determine the SKU, they belong on the variant. Price and availability may be variant-level or offer-level in your canonical model. Add a separate offer entity when those terms vary by seller, market, or channel. If stock differs by fulfillment location, model a separate location-level inventory position. That prevents a single global in_stock flag from hiding local stockouts.

Platform schemas show why your canonical model should remain your own. Shopify describes a ProductVariant as a version of a parent Product; each variant exposes its own price and inventory data. Google Merchant Center represents variants as separate items with item-level price and availability. Neither platform requires a separate Offer entity in your canonical model. Add one when selling terms need seller, market, or channel context. See Shopify's current variant docs and Google's product data specification.

Page-level structured data has its own vocabulary. Schema.org version 30.1's ProductGroup type describes a group of products that vary by properties such as size or color, with individual products represented as variants. It is one output vocabulary a channel adapter can generate from the canonical model. Our product schema glossary explains the difference between page markup and the underlying product-data structure.

Diagram showing source product data mapped into a shared model of product families, variants, and offers, then into channel-specific outputs

Map a shared product model to a channel schema

Suppose one rain jacket comes in three sizes and two colors. In this example, the model includes an offer because price and availability vary by market. The storefront can expose one product with six nested variants. A Google Merchant Center feed represents those variants as separate items, with item-level price and availability. Those shapes differ, while the family and variant identities stay consistent.

Canonical valueExample Merchant Center fieldMapping rule
family_idGoogle item_group_id (where required)When Google requires grouping, use one stable group ID across the family's variant items.
variant_ididUse a stable, unique ID for each sellable variant. Do not reuse the family ID as the variant ID.
variant.colorcolorSend a normalized color value that matches the variant and its landing page.
variant.sizesizeSend the size for this variant, not a list of all sizes on the family record.
offer.price plus offer.currencypriceSerialize the amount and currency in the destination's required format.
offer.availabilityavailabilityConvert the canonical state to the channel's allowed values using current offer data.
Canonical category assignmentgoogle_product_categoryMap through a maintained taxonomy crosswalk instead of replacing your internal product type.

The exact field names and validation rules depend on the destination. Google requires item_group_id for variant free listings and for Shopping ads targeting Brazil, France, Germany, Japan, the United Kingdom, and the United States. Google's documentation specifies these required cases; check current requirements for other destination and market combinations. When you submit it, use the same stable group ID for every variant item in that group, while keeping each item's id distinct. Google's variant requirements describe these conditions. The Google product data specification defines item-level price and availability and identifies missing or conflicting variant attributes as common product-data problems. A product feed is a destination-specific projection that serializes model facts to one channel's fields and rules.

Keep identifiers distinct. A supplier's item number, a storefront variant ID, a SKU, a GTIN, and a channel's product ID may all identify related things, but they are not automatically interchangeable. Give the shared family and variant their own stable IDs, then retain a crosswalk to source and channel IDs. This lets you replace a storefront or change a feed without silently merging variants.

Keep classification separate from item attributes as well. Apparel > Rain jackets is a taxonomy assignment. Waterproof, Olive, and Size S are product attributes. In GS1's Global Product Classification (GPC), a Brick is a classification category. Its Brick attributes describe that category at the product-group level; they are not a product-family or style identifier. GDS trade-item attributes describe a specific item for supply-chain exchange. GS1's classification guidance explains the distinction.

Build the model and mappings in this order

Start with one cross-system workflow instead of trying to standardize every product and process at once.

  1. Choose the first shared use case. Pick a product update that must reach several systems, such as changing a variant's title, price, or availability across a storefront and two feeds. List the sources, consumers, and decisions they need the data to support.
  2. Define identity and relationships first. Decide what counts as a family, a sellable variant, a bundle, an accessory, and an offer. Assign stable family and variant IDs, then map each relevant source product ID to them. A jacket and matching pants are related products, not variants of one family.
  3. Set the shared core and extensions. Put cross-system facts in the core model. Keep category-specific data in extensions, such as fit and fabric for apparel or voltage and compatibility for electronics. Leave destination-only fields in output mappings. Define types, units, locales, allowed values, and the difference between missing, unknown, and not applicable.
  4. Assign field ownership and normalization rules. Name the authoritative source for each field and define how conflicts are resolved. Preserve the raw value and record the conversion. For example, when a documented color rule maps a supplier's Midnight to Navy, keep both values and the rule that produced the normalized value. Keep enriched or inferred claims distinguishable from source-provided facts.
  5. Implement and document both mapping directions. Map each source structure into the shared model, then map the model to every destination. Record defaults, fallbacks, lossy conversions, and error states. Each mapping release needs a coverage matrix for a simple product, multiple variants, an unavailable offer, a location-specific inventory case, and a bundle.

Version the model and its mappings together. When a field definition changes, update every affected input and output contract in the same release. Keep the central model small enough that teams can agree on its terms; extend it when a new use case needs a stable concept, rather than making every channel requirement global.

When a canonical data model is worth the cost

A shared model pays off when several systems exchange the same product facts, new channels keep arriving, and the business meaning changes more slowly than each platform's API. It is less useful for two systems with one fixed integration and little reuse. A canonical layer adds transformations, maintenance, and governance that a small integration may not need.

For a full mesh where every system exchanges data with every other system, the translator count grows from n(n - 1) direct translators to 2n translators through a shared model. Enterprise Integration Patterns gives the example of six systems: 30 direct translators versus 12 through a canonical model. At two systems, direct translation needs two translators while the canonical approach needs four. Those counts assume every system talks to every other one. A one-way product feed has fewer connections, so estimate your actual flows before introducing a central model.

The model becomes a bottleneck when it collects fields with no shared meaning or when no one owns the definitions. Keep a small product-data core, category extensions, and channel-specific adapters. That structure gives merchants a stable layer for new storefronts, feeds, marketplaces, and AI surfaces without forcing every consumer to use one giant schema.

FAQ

Is a canonical data model the same as a product feed?

No. A canonical model is the shared, destination-neutral contract. A feed is one output serialized to a particular channel's schema and rules. The same model can supply multiple feeds.

Is a canonical data model the same as a PIM?

No. A PIM is an application and workflow for managing product information. A canonical model is a set of shared definitions and relationships. A PIM can store that model, implement part of it, or map product records into a separate shared layer.

If your catalog needs structured product data that stays current across AI shopping surfaces, see how Catalog works.