---
title: "Update carrier"
method: PATCH
path: "/api/v1/carriers/{id}"
tags: ["carriers"]
---

# Update carrier

`PATCH /api/v1/carriers/{id}`

Partially updates a carrier by its identifier. The code is immutable.

## Path parameters

- `id` string, uuid, required

## Request body

- CarrierUpdate
  - `name` string
  - `description` string, nullable
  - `active` boolean
  - `capabilities` CarrierCapabilitiesUpdate
    - `tracking` boolean
    - `same_day` boolean
    - `returns` boolean
  - `default_freight_rules` CarrierFreightRulesUpdate
    - `sla_hours` number, required
    - `fixed_cost` number, required
    - `cost_per_kg` number, required
  - `default_operating_hours` CarrierOperatingHourUpdate[], nullable
    - `day` string, required
    - `open` string, required
    - `close` string, required
  - `metadata` object, nullable

## Response `200`

Carrier updated.

- CarrierUpdateResponse
  - `id` string, required
  - `code` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `active` boolean, required
  - `capabilities` object, required
    - `tracking` boolean, required
    - `same_day` boolean, required
    - `returns` boolean, required
  - `default_freight_rules` object, required
    - `sla_hours` number, required
    - `fixed_cost` number, required
    - `cost_per_kg` number, required
  - `default_operating_hours` object[], required
    - `day` string, required
    - `open` string, required
    - `close` string, required
  - `metadata` object, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400` — Request payload, query string, or path parameter failed validation.
- `401` — Authentication is missing, malformed, expired, or refers to a session that is no longer active.
- `403` — The caller is authenticated but lacks the required permission for this action.
- `404` — Carrier not found in the caller account.
- `422` — The payload passed schema validation but breaks a domain invariant.
- `500` — Unexpected server error. The response body never leaks internal details.

## Changes

- **2026-07-07** `a3b4750a505f` — 18 info
  - added the new optional request property `active`
  - added the new optional request property `capabilities`
  - added the new optional request property `default_freight_rules`
  - added the new optional request property `default_operating_hours`
  - …14 more
- **2026-07-07** `84194c31ab85` — 11 breaking, 7 warning
  - removed the required property `active` from the response with the `200` status
  - removed the required property `capabilities` from the response with the `200` status
  - removed the required property `code` from the response with the `200` status
  - removed the required property `created_at` from the response with the `200` status
  - …14 more

[Change history](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/carriers/:id/patch.md)

---

[API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) · [All operations](https://skmtc.dev/kruzer-corp/apis/oms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kruzer-corp/oms-api/revisions/2decd53495a9/schema)
