Skip to main content

Update a registered carrier

PATCH 

/carriers/:scac

A JSON merge patch of name, usdot and mc (UpdateCarrier): an absent field is kept, null or an empty string clears an optional identifier (name cannot be cleared). The status is not patchable: use the suspension routes. A patch that changes nothing is 200 and publishes nothing. Requires an Idempotency-Key; If-Match with the ETag is honoured (412 on mismatch). Publishes CarrierRegistered with the new snapshot and version.

Request​

Responses​

The carrier is updated (or was already as asked).

Response Headers
    Idempotency-Replayed

    true when this response is the stored answer of an earlier request with the same Idempotency-Key and the same method, path and body (the handler did not run again). Absent on the first execution.

    ETag

    The weak entity tag of the appointment or carrier, W/"<version>".