What happened
Crestline Manufacturing’s supplier management API returned a supplier identifier in a field named vendorId. During a domain-model cleanup, the API team renamed it to supplierId to align with new terminology. The change felt harmless—the data was identical, only the key had changed.
Every service-level test passed. The deployment went live without incident.
Within hours, procurement portals, vendor onboarding workflows, compliance screening tools, and finance applications began failing. Twelve downstream systems had been extracting vendorId and found nothing in its place. Some crashed. Others silently processed null values, corrupting records.
Supplier onboarding halted across multiple regions. The engineering team spent three days pushing emergency patches to every consumer before normal operations resumed.
Root cause
No consumer-driven contract tests existed. The team had verified that the API returned the right data; it had never verified that consumers could read it. The OpenAPI spec was updated to reflect supplierId, but no test checked whether any real consumer still expected vendorId.
The fix
The team introduced a versioned API path and kept vendorId as a deprecated alias alongside supplierId for two release cycles. Consumer-driven contract tests were written for all twelve systems, and field renames were added to the breaking-change review checklist.
Lesson learned
A field rename is always a breaking change. Consumer-driven contract tests catch breaking changes before deployment—not after three days of incidents.