Standardized Error Codes
To improve the developer experience, we’ve rolled out a standardized error-handling framework for the Inventory and Orders APIs. This simplifies error interpretation across services and provides consistent diagnostics. Currently, the standardized error-handling framework is only implemented for Inventory and Orders API endpoints.
What’s New
-
Shared Error Codes: Easily recognizable, reusable codes across modules (for example,
SERVICE-4006: This record has been modified by another request, please resubmit.
). - Structured JSON Responses: Uniform schema containing code, message, service, and contextual metadata.
- Modular Scoping: Distinguishes between system-wide errors and service-specific logic failures.