Test Order Tracking API
Test Order Tracking API
Order Tracking service for retrieving the order/accession tracking status of existing Labcorp orders. The service proxies to an internal order service and returns its payload unchanged.
Authentication
OAuth2 client credentials flow. Present a bearer access token obtained from the Labcorp token endpoint; no scope is required on the token.
Response Codes
| Code | Meaning |
|---|---|
| 200 | The order was located; its tracking status is returned. |
| 204 | The order matched but the internal service returned no content; the body is empty. Forwarded unchanged. |
| 400 | The request was rejected as invalid (e.g. missing search criteria, or the account-number/control-number combination matched multiple orders). The upstream error body is not forwarded; a generic message is returned in its place. |
| 401 | Authentication failed — the bearer token is missing or invalid. |
| 404 | The request path did not resolve to a forwardable order-tracking route, or no matching order was found (no data found). |
| 500 | Internal error. |
| 502 | The internal order service could not be reached, or it responded 502. |
| 503 | The internal service reported it is temporarily unavailable; status and body forwarded unchanged. |
Any other status returned by the internal service is forwarded unchanged.

