Skip to main content

Transit SLAs

Define transit-SLA policies and read the ranked intervention queue. All org-scoped.

Served by the gateway at https://api.orderlycore.com under /v1, bearer-authenticated. Use the Try it consoles against the Preview server.

Ranked transit-SLA intervention queue

GET/v1/flags

Requires X-Organization-Id. Live.

Parameters

NameInRequiredDescription
levelqueryno
limitqueryno

Responses

200 Success. Payload wrapped in the standard envelope:

{
"ok": true,
"data": {
"flags": [
{
"tracking_number": "1Z999AA10123456784",
"carrier": "ups",
"level": "red",
"reason": "predicted 1 day past promise",
"promised_at": "2026-07-23T23:59:00Z"
}
]
},
"meta": {
"requestId": "\u2026",
"version": "0.1.0"
}
}

400 org_required when the X-Organization-Id header is missing. 401 Missing or invalid bearer token. 429 Rate limit exceeded.

GET/v1/flags

Ranked transit-SLA intervention queue

https://api-staging.orderlycore.com/v1/flags

List transit SLAs

GET/v1/slas

Requires X-Organization-Id. Live.

Responses

200 Success. Payload wrapped in the standard envelope:

{
"ok": true,
"data": {
"slas": [
{
"id": "sla_123",
"carrier": "ups",
"service": "ground",
"max_days": 3
}
]
},
"meta": {
"requestId": "\u2026",
"version": "0.1.0"
}
}

400 org_required when the X-Organization-Id header is missing. 401 Missing or invalid bearer token. 429 Rate limit exceeded.

GET/v1/slas

List transit SLAs

https://api-staging.orderlycore.com/v1/slas

Set a transit SLA

POST/v1/slas

Requires X-Organization-Id. Live.

Request body

{
"carrier": "ups",
"service": "ground",
"max_days": 3
}

Responses

200 Success. Data is returned in the standard { ok, data, meta } envelope.

400 org_required when the X-Organization-Id header is missing. 401 Missing or invalid bearer token. 429 Rate limit exceeded.

POST/v1/slas

Set a transit SLA

https://api-staging.orderlycore.com/v1/slas

Delete a transit SLA

DELETE/v1/slas/{id}

Requires X-Organization-Id. Live.

Parameters

NameInRequiredDescription
idpathyesSLA id

Responses

200 Success. Data is returned in the standard { ok, data, meta } envelope.

400 org_required when the X-Organization-Id header is missing. 401 Missing or invalid bearer token. 429 Rate limit exceeded.

DELETE/v1/slas/{id}

Delete a transit SLA

https://api-staging.orderlycore.com/v1/slas/