Analyze with AI
Get AI-powered insights from this Mad Devs article:
SKU DEMO-01 has an approved description in one storefront and yesterday's copy in another. Meanwhile, a delayed ERP import carries an older description back toward the PIM. All three connections can report activity while customers see conflicting product information.
The integration decision is which changes may become authoritative, which publication each channel should receive, and how to prove recovery. Anton Kozlov's Data synchronization best practices explains the underlying ownership and retry principles. Here, we apply them to a hypothetical catalog release so you can specify and test one safe publication across ERP, PIM, and two storefronts before expanding the integration.
Key takeaways
- Assign authority per field. A valid ERP message still cannot overwrite a PIM-owned description.
- Order approved publications with a version from one publishing authority; arrival time does not establish precedence.
- Track delivery separately for each SKU and channel. One successful storefront does not complete the release.
- Retry the same logical operation without repeating effects, and reject older publications.
- Reconcile actual channel values against the approved, channel-specific projection before closing a mismatch or accepting the pilot.
Define which system can write each field
Product information management (PIM) centralizes product content for enrichment and distribution to sales channels. Bluestone's integration guide describes operational data coming from ERP and enriched content flowing from PIM. That architectural direction still needs a field contract.
Use this hypothetical ownership matrix for DEMO-01; these are proposed integration rules, not defaults guaranteed by a particular PIM.
| Field | Authoritative owner and write source | Recipients and permitted route |
|---|---|---|
| Product code | ERP product master | ERP → PIM → channels A/B; storefront editing prohibited |
| Weight | ERP logistics record, with unit | ERP → PIM validation → approved channel projections |
| Base description | PIM content editor | PIM approval → publisher → A/B; ERP imports cannot write it |
| Localized descriptions | PIM locale editors | Approved locale → matching channel; missing required locale blocks publication |
| Channel description override | Authorized channel editor through a scoped approval workflow | Approved override → named channel only; no writeback to base description or ERP |
An override needs an approver, scope, revision, and removal rule. Direct storefront edits outside that route are drift. When an override is removed, publish the current approved base description rather than a historical copy.
The release gate checks required fields, locale completeness, units, and override approval, then freezes the exact payload for each channel. This contract makes product information management implementation reviewable: editors know where corrections belong, and integration developers can demonstrate rejected writes before connecting more brands.
Walk one SKU through a conflicting update
Set the fixture explicitly. ERP holds code DEMO-01 and weight 500 g. PIM and both storefronts initially hold approved publication v6, description “Classic lamp.” A PIM editor approves “Portable reading lamp” as v7. Both channels use English here; neither has an override. Code and weight remain unchanged throughout. Keep these baseline values in the acceptance record for comparison.
Versions v6 and v7 belong to the catalog publisher's per-SKU sequence. ERP has its own revision sequence; an ERP revision numbered 200 cannot outrank PIM v7. The publisher assembles owner-approved fields into a new immutable publication whenever a publishable change is approved.
| Event | ERP state | PIM and publisher state | Storefront A | Storefront B |
|---|---|---|---|---|
| 1. Baseline | DEMO-01; 500 g; legacy description | Approved v6: “Classic lamp” | v6: “Classic lamp” | v6: “Classic lamp” |
| 2. Approve and enqueue v7 | Unchanged | Approved v7: “Portable reading lamp”; delivery pending for A/B | Still v6 | Still v6 |
| 3. Delayed ERP batch arrives with description | Legacy description remains local | Reject unauthorized description; v7 and 500 g unchanged; log conflict | Still v6 | Still v6 |
| 4. Deliver v7; B temporarily rejects request | Unchanged | v7 retained; A confirmed, B pending retry | v7: “Portable reading lamp” | v6: “Classic lamp” |
| 5. Retry B with original operation identity | Unchanged | A confirmed; B applied, then verified | v7: “Portable reading lamp” | v7: “Portable reading lamp” |
| 6. Reconcile values and revisions | Code and weight match contract | v7 remains approved; no open channel mismatch | Expected v7 payload matches | Expected v7 payload matches |
At event 3, arrival time cannot authorize the description. Validate incoming fields against an allowlist before merging. For this fixture, quarantine the forbidden field and retain an audit entry; independently valid ERP-owned fields may proceed through their normal validation. A changed weight would require a new approved publication, not mutation of v7.
At event 4, record partial delivery instead of rolling A back or declaring global success. Customers on B temporarily see the last approved copy, and the catalog owner sees B's pending status. An acknowledgement that merely queues work is not confirmation that the product page changed.
Numendo's Emosia case describes adding a brand with a different ERP in 2025 and continuing deployment in 2026. It supports the commercial need to integrate multiple brands and systems; it does not document this example's ownership, versioning, or recovery policy.
Recover a channel without overwriting approved data
Retain a durable delivery record for each SKU, channel, and approved publication. Store the immutable payload or a durable reference, event identity, expected revision, payload hash, attempt history, and outcome. Commit approval and its delivery intent together where possible; otherwise provide a recovery scan for approvals without delivery records. AWS's transactional outbox guidance explains the database-and-message failure boundary and why consumers must tolerate duplicates.
Retry B using the original logical key, such as DEMO-01:B:v7, rather than creating another product or publication. Apply the product change, revision, and deduplication result atomically at the receiving boundary. When the storefront cannot provide that transaction, the adapter needs persistent operation tracking and readback to resolve uncertain outcomes before retrying. Readback alone cannot prove that a notification was sent only once: downstream effects also need an idempotency key or their own deduplication record. If that is unavailable, record the limitation and require manual resolution of uncertain outcomes.
Exercise three failure paths:
- Lose the acknowledgement after B applies v7. Repeating the key returns the recorded outcome without another side effect, including duplicate downstream notifications or indexing requests.
- Deliver v6 after v7. The receiver rejects the older publication; equal versions with different payloads raise an integrity error.
- Approve v8 before retrying v7. Apply the monotonic revision check where the write commits, so a delayed v7 cannot replace v8.
Use bounded backoff for temporary failures. Route invalid mappings or exhausted retries to an exception queue owned by the integration lead; the catalog owner decides disputed content.
Finally, compare readback values against each channel's expected projection, including authorized overrides and unit conversions. A green delivery job with B still showing v6 remains an open divergence.
Use the scenario to accept the first integration
Make DEMO-01 a filled acceptance fixture in the PIM implementation checklist. Record the matrix, initial v6 values, expected v7 payloads, injected ERP batch, channel failure, and evidence from both storefronts. Keep prices, inventory, and orders outside this fixture; readers designing those flows can use ERP integration for B2B ecommerce.
For this pilot, propose a five-minute lag allowance for descriptive content after approval and reconciliation every minute. Measure lag from approval to verified channel readback, and track pending publications, failed attempts, and mismatches by SKU and channel. Alert the integration lead when the allowance is exceeded. These are test parameters for business approval, not industry benchmarks. The Head of Ecommerce must decide whether stale copy is acceptable during that interval; safety-critical content needs a stricter release decision.
Accept only when the evidence demonstrates all of the following:
- The late ERP description is rejected with its source and reason recorded; approved PIM content survives.
- A reaches v7 while B remains visibly pending, without a false release-complete status.
- B recovers within the agreed window; duplicate and out-of-order deliveries cause no regression or repeated effect.
- A permitted B-only override changes B's expected projection without contaminating A or the PIM base field.
- Reconciliation detects a deliberately altered channel value and assigns the discrepancy to an owner.
Block launch for unauthorized overwrites, silent partial delivery, unbounded retries, undetected drift, or missing ownership. Exceeding the agreed lag also fails this acceptance run. Close the discrepancy only after readback matches the current approved projection on both channels and the repair evidence is attached. A cleared queue alone is insufficient.
Conclusion
Choose the first integration scope by what you can prove: who owns each field, which approved publication wins, and whether both storefronts reach their expected state after a failure. The DEMO-01 fixture turns those decisions into observable acceptance evidence. Expand only after the team can repeat it without manual edits hiding a broken route.
If updates currently overwrite each other or arrive unevenly, start with one category and two channels. Mad Devs' Backend Development service offers a practical pilot scope: agree the field contract, implement the integration and retry rules, and validate the resulting catalog flow before extending it.
Backend development Make one catalog flow safe to publish We map field ownership, implement update and retry rules, and validate that an approved SKU reaches each storefront with the expected data. Discuss your catalog |






