Skip to main content

Register a carrier

PUT 

/carriers/:scac

Puts the carrier with this SCAC in the registry (RegisterCarrier). Idempotent by SCAC: a new SCAC is created ACTIVE and answered 201 with a Location; a SCAC that is already registered with exactly this data is a no-op answered 200 (the mc is compared in its normalised form, so 654321 and MC-654321 are the same); a SCAC registered with DIFFERENT data is refused with 409 carrier-already-registered: change a registered carrier with PATCH instead. Idempotent by method, no Idempotency-Key needed. Publishes CarrierRegistered (not on a no-op).

Request​

Responses​

The carrier was already registered with this data; nothing changed.

Response Headers
    ETag

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