All articles
SYSTEM INTEGRATIONFZM2026-11-237 min read

CRM, ERP, and API Integration: Contracts, Versions, and Failure Modes

Connecting a CRM to accounting software or a third-party API fails for reasons beyond HTTP errors. The hardest questions are who owns a record, whether a command can repeat, and how partial success is reconciled.

1. Name the System of Record For each business object, define its authoritative system and permitted synchronization direction. Separate commands, events, and queries: a command requests a change, while an event reports that a change occurred. Two systems must not silently overwrite the same commercial fact.

2. Version Contracts Compatibly Evolve API and event schemas deliberately. Prefer backward-compatible field additions, define optional behavior, and publish how long older consumers remain supported. Changing the meaning of an amount, status, or identifier is a contract change, not a cosmetic update.

3. Plan for Network Failure A timeout does not tell you whether the partner committed an operation. Use idempotency keys, a durable outbound record, bounded backoff, and a dead-letter queue for unresolved events. Do not assume a single atomic transaction exists across two independent APIs.

4. Test Failure Paths Before Launch Exercise duplicate delivery, reordering, delayed responses, partner outages, invalid currencies, and partially populated records. Define which cases can be retried automatically and which need manual reconciliation. An integration is production-ready only when recovery has a clear owner and procedure.

GET STARTED

Have a project in mind? Let’s define the right next step.

Describe the business need and we will help define the approach, project scope, and initial budget.