All projects

Supply chain · Public API

Logistics Tracking API

Public tracking API serving carrier webhooks and partner integrations, built on Node.js with PostgreSQL and idempotent event handling.

Role
Backend Engineer
Year
2024
Timeline
5 months
Team
3 engineers

The problem

Carrier webhooks arrived out of order and duplicated, corrupting tracking state and flooding support with wrong ETAs.

Approach

  1. 01

    Introduced idempotency keys and retry queues so duplicate carrier events are safe by design.

  2. 02

    Published an OpenAPI contract with generated SDKs for partner teams.

  3. 03

    Routed partner reporting traffic to PostgreSQL read replicas to protect write latency.

What shipped

  • Idempotency keys and retry queues for carrier webhooks
  • OpenAPI contract with generated client SDKs
  • Read replicas for partner reporting traffic