Response envelope
Success
Error
| Field | Type | Description |
|---|---|---|
success | boolean | true for success, false for error |
message | string | Human-readable status or error description |
data | object | Response payload (present on success) |
errorCode | string | Machine-readable error code (present on error) |
HTTP status codes
| Status | Meaning |
|---|---|
200 | Request succeeded |
400 | Bad request — invalid or missing parameters |
401 | Unauthorized — missing, expired, or invalid token |
404 | Resource not found (e.g., tracking ID does not exist) |
500 | Internal server error |