Tizo · Integraciones
One core. Many providers.
The integration infrastructure that connects Tizo’s catalog and orders with wholesale distributors and external providers in Guatemala.
Catalog.
Orders.
In sync.
The integration infrastructure that connects Tizo’s catalog and orders with wholesale distributors and external providers in Guatemala.
- Providers
- Adapters
- Core
- Products · Orders
The problem
Every distributor exposes its catalog, prices, inventory and orders differently. Integrating each one with bespoke code would have multiplied errors and made every new provider as expensive as the first.
What I built
- A generic core with per-provider adapters, built on the Strategy, Registry, Capabilities and Policy patterns.
- Catalog, price, inventory and image sync with upsert by SKU and store, and three-level defaults.
- Category and branch mapping with operational endpoints to fix it without a deployment.
- Scheduled jobs with mutual exclusion and real-time stock lookup.
- On orders: external orders, per-warehouse splitting, tracking, webhooks with polling fallback, failure classification and retries.
How it works
- The registry resolves the provider’s adapter and capabilities.
- Sync pulls catalog, prices, stock and images.
- Mapping translates categories and branches into Tizo’s model.
- An order is split by warehouse and sent to the provider.
- Webhooks and polling update tracking; failures are retried.
Engineering decisions
Declared capabilities
Each adapter declares what it supports. The core picks the flow from those capabilities instead of scattering provider conditionals through the code.
Idempotency by SKU and store
Upserting on a natural key lets syncs run again without duplicating products or overwriting manual corrections.
Classified failures
Separating transient from permanent errors means recoverable failures are retried and the rest are escalated.
Results and evidence
Integration branches in the private products and orders repositories between February and July 2026, with about 1,600 lines of my own technical documentation.
Scope and learnings
Private client code: I show no repositories, screenshots or provider names. I describe only my own contribution.