Data normalization for ecommerce product catalogs
Learn how to normalize product names, categories, dimensions, variants, prices, availability, and identifiers for reliable ecommerce feeds and AI shopping.
Your catalog can describe one jacket three ways: a supplier feed says size=M; color=Midnight Blue; sleeve_length=30 cm, a storefront says size=Medium; color=Navy; sleeve_length=11.8 in, and a retail feed says size=Medium; color=Blue; sleeve_length=0.984 ft.
A person can often reconcile those values. Filters, feeds, and shopping agents need product facts in predictable fields. The challenge is to align each record without erasing what its source actually knows about the product.
What data normalization means for ecommerce
Data normalization has several technical meanings. In database design, it organizes related facts across tables and reduces duplication. Microsoft's database guide explains this use.
In machine-learning workflows, normalization can mean feature scaling, such as mapping numeric features to a common range from 0 to 1. Sample-level unit-norm normalization is a separate operation: it rescales each sample's feature vector so its norm equals 1. Scikit-learn's preprocessing guide describes both operations.
Here, data normalization means resolving differences in product field names, values, units, types, and relationships so the same product fact stays consistent across the systems that use it.
A normalized catalog uses one internal representation and destination-specific outputs. Each output preserves the same fact while following its channel's accepted fields and values. Store the raw value, normalized value, source, and transformation so teams can trace how one became the other.
At Catalog, we build that work into a product data layer. We structure product facts, keep changes synced, publish them to AI shopping surfaces, and measure what those surfaces do. The goal is a live, machine-readable catalog that stays current after the initial cleanup.
Why inconsistent fields create commerce problems
A value mismatch can hide a product from a filter, split one category into several, or make a feed point to the wrong version.
M, Medium, and EU 38 do not automatically mean the same thing. A dimension of 30 says nothing until a system knows the unit and whether it describes the product or its package. Stock at the product-family level can also be misleading when only some variants are available.
These are data-contract problems with direct effects on shoppers and channel eligibility. Google Merchant Center says incorrect, missing, or conflicting product values can cause disapprovals, limited eligibility, or incorrect displays.
Its examples include category and GTIN errors, missing variant fields, and conflicts between submitted data and a product page. The Google product data specification lists those requirements.
AI shopping raises the cost of ambiguity. OpenAI's Agentic Commerce Protocol (ACP) product feed uses one row per purchasable item or variant and requires a stable item_id for each. It conditionally requires group_id when a product has variants, while offer_id is optional.
A practical implication is that an agent may not reliably match a requested size to a current offer if the source bundles every size into one text field or changes its supplied IDs with each export. The OpenAI product feed specification lays out that contract.
Model product, variant, and offer separately
Before cleaning values, decide which entity each field describes. A useful product model separates three linked records:
| Record | What it identifies | Examples of fields |
|---|---|---|
| Product family | A product and facts shared across its versions | Brand, model, base title, category, common materials |
| Variant | One sellable combination of options | Variant ID, size system, color, SKU (stock keeping unit), GTIN (Global Trade Item Number), variant image |
| Offer | A seller's terms for a specific item in a market | Seller, market, price, currency, availability, promotion window |
One product family can have many variants. A variant can also have different offers by seller or market. Keeping those relationships explicit prevents a family-level price or stock value from being applied to every size, color, or seller offer.
Your schema should change with the category. Apparel needs fields such as fit and size system; furniture may need dimensions, assembly details, and weight. Our product attributes guide covers how to choose fields that help each category stay searchable and comparable.
Normalize common product fields
Define the field name and the field value separately. Map aliases such as colour, clr, and color_name to a canonical key such as color.
Then define what each value means. A brand's color label Midnight Blue and a broader color_family: blue answer different questions, so keep both when shoppers or channels need both.
| Field | Canonical rule | Guardrail |
|---|---|---|
| Names and labels | Resolve supplier brand aliases to one brand record. Build titles from a repeatable pattern using canonical brand, model, product type, and variant label. | Keep model names and customer-facing labels. A title is presentation, not a stable product ID. |
| Categories | Keep your internal category path, then map it to each destination's taxonomy. Google Merchant Center separates its Google-defined google_product_category from your merchant-defined product_type. | Do not let one marketplace's taxonomy replace the category system used by your storefront or product team. |
| Dimensions | Store a numeric value, unit, measurement type, and scope, such as product_width = 30 cm. Set a rounding rule and keep package dimensions separate. | Convert only when both values describe the same measurement. Google requires the same unit for length, width, and height or it will not display the dimensions. |
| Variants | Give each sellable combination a stable item ID. When a product has variants, use a shared parent group ID to link them and record explicit options such as color and size. | Keep size system or region where it changes meaning. Put the stock and price for a size-color combination on that variant's offer. |
| Prices | Store amount, currency, market, seller or offer context, and price type. Keep regular, sale, and member prices distinct. | Parse decimal separators only when the source locale is known. Do not convert currency, tax, or rounding without an explicit pricing rule. |
| Availability | Map source wording to a controlled state such as in_stock, out_of_stock, preorder, backorder, or unknown. | Keep availability at the variant, offer, and market scope. Unknown inventory is not the same as out of stock. |
| Identifiers | Keep internal product ID, variant ID, SKU, MPN (manufacturer part number), and GTIN in separate fields. | Store identifiers as text to preserve leading zeros. Validate format and check digits; never derive one identifier type from another. |
Dimensions illustrate why a field's meaning matters as much as its format. If a supplier lists 30 cm and another lists 11.81 in, they may describe the same product width within rounding precision. A package width of 30 cm is a different fact.
Normalize the first pair together, and keep package measurements in their own fields. Google's dimension rules also require length, width, and height to use a consistent unit.
Identifiers need the same care. A SKU is a merchant's item code. A GTIN identifies a trade item under GS1's system. Keep identifiers as distinct strings instead of treating them as interchangeable numbers. GS1's GTIN overview defines the identifier, and Google's product data specification validates its length and check digit.
Normalize once, then map to each destination
A canonical value is for your product model. A feed adapter turns it into the exact name, format, and allowed value a destination expects. The fields can describe the same fact while using different vocabulary:
| Meaning | Google Merchant Center | OpenAI product feed |
|---|---|---|
| Pre-order availability | preorder | pre_order |
| Unknown stock | Its listed values are in_stock, out_of_stock, preorder, and backorder | unknown is an explicit value |
| Variant grouping | item_group_id | group_id for variant listings, with a distinct item_id for each variant |
| Price | Numeric amount with an ISO 4217 currency code | Money string such as 79.99 USD |
The Google specification and OpenAI feed specification define different field contracts. A canonical preorder value can map to both formats. An unknown stock state needs a destination rule or a review queue. Do not turn it into in_stock or out_of_stock to make a feed pass.
The same principle applies to variants. Google uses item_group_id to connect versions of a product. OpenAI's feed uses group_id to link variants, a separate item_id for each purchasable variant, and a variant_dict for the selected options.
The same specification says any IDs you supply should remain stable when price, stock, title, or images change. A price change updates the offer, not the product identity.
For the broader work of adapting an approved record to multiple feeds and AI shopping surfaces, see our product data syndication guide.
Run normalization as a governed pipeline
A normalization project works best as an operating process. Use a clear rule for every field, and send ambiguous values to review instead of silently guessing.
- Assign source ownership by field. The manufacturer may own dimensions and material. Your inventory system may own stock. Merchandising may own the customer-facing title and approved color label. Choose the authority for each field instead of assuming one file is correct for the entire record.
- Write a field contract. For each field, define its name, type, product or offer scope, unit, allowed values, category and market requirements, owner, source, and handling for missing values. Include destination requirements as mappings, not as the definition of your internal field.
- Profile and map incoming values. List unique values and aliases before building transformations. Apply deterministic rules for known spelling, unit, and formatting changes. Keep the raw value beside the normalized value, with its source record, update time, and rule version.
- Review semantic conflicts. If two trusted sources disagree on a material, size, or compatibility claim, route the record for approval. Normalization aligns known equivalents. It does not prove that conflicting facts are true, or fill a gap with an assumption.
- Validate before publishing. Check required category attributes, type and unit rules, identifier uniqueness, valid category maps, distinct variants, price and currency formats, and the output schema. Compare price and availability with the product page and checkout before sending an offer downstream.
- Monitor updates after launch. Measure category and channel validation pass rates, duplicate IDs, unresolved aliases, conflict volume, and the time it takes a price or stock change to reach each destination. Correct the mapping when an error repeats. Our product data quality guide covers a broader audit of accuracy, completeness, freshness, and validity.
Normalization is complete when the next system can identify the exact item, compare equivalent values, and show the current offer without guessing. If you need a product data layer that structures and syncs product facts for AI commerce, talk with Catalog.
