---
title: "Update Shipment"
method: PATCH
path: "/api/v1/admin/shipments/{shipment_id}"
tags: ["admin-shipments"]
---

# Update Shipment

`PATCH /api/v1/admin/shipments/{shipment_id}`

Update shipment details. Validates status transitions.

## Path parameters

- `shipment_id` string, uuid, required

## Request body

- ShipmentUpdate — Admin updates shipment details. All fields optional.
  - `carrier` string, nullable
  - `tracking_number` string, nullable
  - `tracking_url` string, nullable
  - `status` string, nullable — New status (must be a valid ShipmentStatus transition)
  - `estimated_delivery` string, date, nullable
  - `actual_delivery` string, date, nullable
  - `shipped_at` string, date-time, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- ShipmentResponse — Shipment summary (without events).
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `carrier` string, nullable
  - `tracking_number` string, nullable
  - `tracking_url` string, nullable
  - `status` string, required
  - `estimated_delivery` string, date, nullable
  - `actual_delivery` string, date, nullable
  - `shipped_at` string, date-time, nullable
  - `notes` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/prototyping/apis/prototyping-io-api.md) · [All operations](https://skmtc.dev/prototyping/apis/prototyping-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prototyping/prototyping-io-api/revisions/f4a0079fbb57/schema)
