Retail and Commerce Data Models
A reference for enterprise data modeling, architecture and industry exchange.
Distinguish a product concept, sellable trade item, variant, package and serialized instance. Attributes may include brand, description, classification, dimensions and unit of measure. Use identifiers according to their defined scope; internal product IDs and external trade item identifiers are not interchangeable by default.
Product and trade item identity
Distinguish a product concept, sellable trade item, variant, package and serialized instance. Attributes may include brand, description, classification, dimensions and unit of measure. Use identifiers according to their defined scope; internal product IDs and external trade item identifiers are not interchangeable by default.
Commerce process
Represent a customer interaction, cart, order, line, payment, fulfillment, shipment, return and refund as related concepts or events. Preserve status transitions and partial fulfillment. Decide whether price is list, promotion, transaction or settled price, and state currency and tax treatment.
Supply chain visibility
GS1 standards include product identification and data exchange vocabularies. EPCIS describes visibility event data and is intended to be used with the GS1 Core Business Vocabulary. See the current GS1 standards repository and verify applicable versions and identifiers for the trading community.
Analytics and operations
Declare sales fact grain, inventory snapshot timing, stock adjustments and return treatment. Reconcile commerce and fulfillment measures across channels. Review consumer, payment and location data handling with the relevant owners and obligations.
Apply with care
Confirm definitions, current versions, usage rights and implementation expectations with authoritative sources and accountable domain owners. Record local mappings, assumptions and changes so consumers can understand the scope of the model.
Separate product, offer, order and fulfillment
A product catalog describes what can be sold; an offer or listing describes terms for a channel or period; an order records a customer's request; fulfillment and shipment events record what was delivered. Price, discount, tax and promotion may have different effective periods and authorities. Do not treat the current catalog value as the price or description used on a historical order.
Model order and payment lifecycles
A cart can change before submission; an order captures a committed request; payment authorization, capture, refund and settlement are separate events. Define idempotency for retries and represent partial fulfillment or split shipments. Keep order-level and line-level measures distinct.
Connect inventory and returns
Inventory movement, available-to-promise balance and physical snapshot are different representations. Define their source and reconciliation rules. Returns may be partial, delayed or exchanged; link them to original lines and record both sale and return dates. Decide whether prior sales are restated or netted in a later period.
- Are catalog, offer, order and fulfillment identities separate?
- Are price and promotion versions preserved as needed?
- Are payment events distinct from order state?
- Can inventory reconcile with movements and counts?
- Are returns and exchanges linked to original lines?
Worked example: product, order, and fulfillment
Separate a sellable offer from a product definition, a trade item identifier, an order line, inventory position, shipment, and return. A product can have multiple packaging levels and channel-specific offers. Orders can be split across locations or fulfilled partially. Preserve line-level quantities and units alongside price, promotion, tax, and currency context so sales and inventory measures can be reconciled.
Product attributes and category assignments change over time. Decide whether historical sales use the product description and category at transaction time or the latest corrected classification. Retain effective dates or snapshots where that distinction matters. A return should reference the original sale when known but still support returns without a usable transaction reference.
Reconcile commerce lifecycle events
Test order amendment, cancellation, split shipment, substitution, partial return, refund, and inventory adjustment. Distinguish business events from current status snapshots and define how duplicates or delayed partner messages are handled. Use standard identifiers and vocabularies when they fit, then validate mappings with suppliers, marketplaces, and logistics partners.
Analyze retail across location and channel
Define whether a store, fulfillment center, marketplace, and digital storefront are locations, channels, or both in a given analysis. A transaction may be initiated in one channel and fulfilled in another. Model these roles separately when they answer different questions. Include the business calendar and timezone used for daily reporting, especially when a channel operates across regions.
When sales and inventory are combined, aggregate each fact at compatible grain. A product-location-day snapshot should not be joined directly to every sales line without an allocation rule. Validate returns and exchanges against their original sale where possible, but keep standalone returns visible. Report net and gross measures with explicit definitions.
Map retail partner data
Align product identifiers, packaging units, locations, promotion codes, order states, and return events with suppliers and marketplaces. Preserve partner values and mapping versions. Test unknown codes and unit conversions.
Monitor unmatched items and reconcile partner totals. Communicate mapping changes to merchandising and finance consumers.