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

EDI integration for commerce product and order data

Connect EDI to your commerce stack with clear product and order ownership, field mappings, API boundaries, validation, and monitoring for accurate records.

A person packs ecommerce orders beside a laptop and shipping boxes.

An electronic data interchange (EDI) mailbox can receive a retailer’s purchase order and still leave you rekeying lines into an ERP or reconciling item codes by hand. System-to-system EDI integration closes that gap: it turns partner documents into records the commerce stack can process. Product and inventory records need different owners and update rules from orders and fulfillment. APIs and a product data layer can support that work without taking over order processing.

What EDI integration connects

EDI exchanges structured business documents between trading partners. EDI integration connects the EDI endpoint to the systems inside your organization, such as an enterprise resource planning (ERP) system, order management system (OMS), warehouse management system (WMS), product information management (PIM) system, ecommerce platform, or finance system.

An integrated flow has four jobs:

  1. Receive an inbound document or prepare an outbound one.
  2. Identify its partner, transaction type, and implementation version.
  3. Translate the message, map its fields, and validate its business meaning.
  4. Write the resulting record to the system that owns it, then return the required response.

The partner’s implementation guide controls which documents, fields, codes, and versions apply. The EDI translator can confirm that a file is structurally valid. The internal integration still needs to check whether an item exists, a ship-to location is valid, and an order unit matches the item’s packaging.

Catalog serves a separate product-data path for AI shopping. We structure approved product records for those destinations, but we do not provide EDI connectivity or route orders.

Onboarding covers partner agreements, identifiers, connectivity details, guide exchange, testing, certification, and cutover. Onboarding and internal integration can overlap during end-to-end testing; IBM’s EDI onboarding guidance says onboarding can include integration with internal systems. The workstreams still have different owners and failure points. EDI integration here means the internal system-to-system path that turns an accepted partner message into a business record and sends the result back. Our EDI onboarding guide covers partner readiness.

Separate the product path from the order path

Commerce EDI carries both item information and operational transactions. Product records describe what a buyer can order. Order records describe what a specific buyer requested under agreed terms. Inventory, price, and order status can change more often than approved product content, so each needs its own owner and update rules.

The X12 supply-chain flow separates item data alignment, purchase orders, delivery, and invoicing. Common X12 examples include:

X12 transactionCommerce jobInternal record to map
832 Price/Sales CatalogExchanges catalog and price information when the partners use it for item setup.Product or offer data in the PIM or ERP, including item identifiers, pack level, price basis, and effective dates.
846 Inventory Inquiry/AdviceReports or requests inventory information. It does not reserve stock.Availability by location, unit, and timestamp in an inventory service, WMS, or OMS.
850 Purchase OrderBuyer places an order with the seller.OMS or ERP order with the partner’s PO and line IDs, item, quantity, unit, ship-to, and requested date.
855 Purchase Order AcknowledgmentSeller accepts, rejects, or changes an order, when required.Order and line status, accepted quantity, and confirmed dates.
856 Ship Notice/ManifestSeller reports shipment contents and packaging details.WMS or 3PL shipment linked to the order, its lines, and package hierarchy.
810 InvoiceSeller requests payment for goods or services.ERP or finance invoice tied to the order and the agreed billing rules.

The partner decides which transaction sets, versions, and business rules apply. The table shows common patterns, not a universal sequence. X12 describes the 846 inventory transaction as an inquiry or advice message; the seller is not required to reserve the reported quantity.

Separate technical acknowledgments from business outcomes too. A 997 reports syntactical analysis. A 999 reports syntactical and relational analysis against an implemented subset of the standard. Neither says the OMS accepted the order or the warehouse shipped it. A required 855 is a business response to the PO. X12’s acknowledgment definitions make this boundary clear.

Give every value one owner

Do not let an EDI map decide which source system wins. Assign ownership by attribute, preserve source identifiers, and define a crosswalk for partner codes that differ from yours. Typical ownership looks like this:

DataTypical ownerIntegration rule
Product identity and variantsERP item master or PIMKeep seller SKU, buyer item number, variant ID, and GTIN where assigned in a governed crosswalk. Match order lines to a sellable variant, not just a parent style.
Descriptions, categories, and attributesPIM or product catalogSend approved values. Keep partner-specific formatting in the outbound map unless the product owner approves a source change.
Price, currency, and effective datesERP or pricing serviceDefine whether the amount is per each, case, or another selling unit. Preserve the effective period.
Stock by locationWMS, OMS, or inventory serviceInclude the location, unit of measure, and as-of time. Distinguish on-hand stock from available-to-promise stock.
Order and cancellation stateOMS or ERPPreserve the partner’s PO and line IDs. Let one system own acceptance, change, cancellation, and allocation state.
Shipment and package contentsWMS or 3PLKeep shipment, carton, and order-line relationships so the 856 matches the physical shipment.
Partner and location IDsERP or trading-partner masterMap buyer, seller, ship-from, ship-to, bill-to, and remit-to roles explicitly.

These are common patterns, not fixed assignments. Your ERP may own price while your PIM owns the title. Define the owner at field level, make downstream copies read-only where possible, and record the source and update time for each value.

Identifiers need the same care. A partner’s item number, your SKU, a variant ID, and a GTIN may refer to related records without being interchangeable. When a partner uses GS1 keys, a GTIN identifies a trade item, a GLN identifies a party or location, and an SSCC identifies a logistics unit. See GS1 identifier keys for their distinct roles. Map each key to the right entity and packaging level. Do not use a carton identifier as a product identifier.

Where APIs and a product data layer fit

EDI and APIs handle different boundaries. EDI carries the partner’s agreed business document. An API, file, or event queue can carry the translated record between your own systems. If a retailer requires an X12 850, adding an API between the EDI translator and your OMS does not remove that external document. It gives your internal systems a supported way to exchange the resulting order.

A practical hybrid flow looks like this:

  1. A partner sends an 850 through its required EDI channel.
  2. The EDI layer validates the document, then maps it to your canonical order model.
  3. An API or queue sends the order to the OMS. The OMS returns a business status.
  4. The integration sends an 855 only after the order reaches the status the partner expects.
  5. The WMS or 3PL sends shipment data back to the integration, which creates the required 856. ERP or finance produces the 810 under the agreed billing rules.

Use the internal interface your systems can support and operate reliably. APIs can suit on-demand updates. Events can carry frequent inventory changes. Scheduled files can work for stable bulk catalog transfers. EDI can also run on event-driven or real-time schedules when the trading partners’ processes allow it, as X12's usage guidance notes. Choose the cadence by data type and business deadline, not by assuming every API is live or every EDI flow is overnight.

A product data layer has a different job from both the EDI translator and the order path. It normalizes approved product facts, keeps them current, and prepares a structured product record for downstream channels. Catalog is a product data layer for AI commerce: we can use approved data from existing PIM, ERP, ecommerce, DAM, or supplier sources, structure it into machine-readable product objects, keep it synchronized, publish to AI shopping surfaces, and measure outcomes. We do not provide EDI connectivity, translate partner-specific transaction maps, route orders, or manage fulfillment. Keep those responsibilities with your EDI and commerce systems. Our PIM integration guide explains how a product data layer fits alongside ERP, WMS, OMS, and PIM systems.

Work through one order with a product variant

Suppose a retailer orders two cases of a navy, medium jacket. Each case contains six sellable jackets. The retailer uses its own item number; your PIM and ERP use a seller SKU and variant ID.

The integration should preserve the retailer’s item number and PO line ID, then resolve them through a crosswalk to the exact sellable variant and case configuration. It should store the order as two cases and, if your internal model uses individual units, record the conversion to twelve units without overwriting the original partner quantity and unit. The price rule must also state whether the order price is per case or per unit.

Before the OMS creates the order, validate that:

  • the buyer’s item number maps to the correct variant and pack level;
  • the ship-to belongs to the partner and is active;
  • the price, currency, and effective date match the agreement;
  • the requested quantity uses a supported unit and conversion;
  • the inventory signal is for the right fulfillment location and is recent enough for the decision.

If the item maps only to a parent style, quarantine the line for review instead of guessing which variant the retailer meant. If the same 850 is resent after a timeout, use an agreed idempotency key, such as partner, PO ID, revision, and line reference, to detect the duplicate before creating a second order.

After the OMS accepts the order, send the business acknowledgment if the partner requires one. When the warehouse ships, the 856 should reflect the actual package contents and preserve the order-line links. If the partner requires an SSCC, use it to identify the logistics unit, not the jacket itself. The invoice should follow the accepted shipment and billing terms. This keeps the product master, order, shipment, and invoice connected without forcing them into one record.

A person scans a package barcode with a smartphone.

Build and operate the integration

Use a repeatable design process for each document flow:

  1. Scope the flow. Record the partner, transaction, direction, source system, destination, trigger, required response, and business owner. Include product and inventory messages as separate flows from orders.
  2. Define the canonical records. Model products, variants, packaging, inventory, orders, order lines, shipments, and invoices at the level your systems actually use. Preserve external IDs alongside internal IDs.
  3. Version each map. Store the source field, target field, conversion, requiredness, accepted codes, and error action. Keep partner-specific rules separate from the shared commerce model.
  4. Make retries safe. Keep the original message and map version for audit. Use business keys for deduplication and retain EDI control IDs for traceability. Retry transient failures, quarantine data errors, and replay only after an owner fixes the cause.
  5. Test the business result. Check that the correct product or order appears in the destination system, not only that the EDI file parses. Test missing item IDs, invalid units, price changes, duplicate POs, cancellations, partial shipments, and delayed inventory updates.

Monitor the entire record path: document received, technical acknowledgment, internal record created, business acknowledgment, shipment update, and invoice outcome. Track unmatched item lines, repeated rejects, stale price or inventory values, duplicate prevention, retry volume, and the age of unacknowledged documents. Reconcile the EDI control number and partner PO line to the ERP or OMS record so an apparently successful integration cannot hide a missing or incorrect order.

If you need a separate path that makes approved product records ready for AI shopping surfaces, talk with us about Catalog.