Set carrier status
Update a carrier or subsidiary status in Alvys by carrier ID via the Public API, transitioning between active, inactive, blocked, and pending states.
204 No Content; the carrier’s new optimistic-concurrency token is returned on the ETag response header.
This endpoint supports optional optimistic concurrency. When you send the carrier’s current ETag in an If-Match header, a change made by someone else since you read the record fails with 412 Precondition Failed instead of overwriting it — refetch with GET to obtain a fresh token and retry. When you omit the header the write is last-writer-wins.
422 Unprocessable Entity, not 404 — the carrier exists, but its type has no status to transition.Status Codes
Rate Limits
All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section.Authorizations
OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.
Headers
The carrier's current ETag (from a prior GET response header), for optimistic concurrency. Optional: when sent, a concurrent change to the carrier is rejected with 412 instead of overwriting it. When omitted, the write is last-writer-wins. The updated ETag is returned on the response ETag header.
Path Parameters
API version (e.g., 1.0)
"1.0"
Body
Response
No Content