---
title: "Update shipment"
method: PATCH
path: "/orders/{orderId}/shipments/{shipmentId}"
tags: ["Shipments API"]
deprecated: true
---

# Update shipment

`PATCH /orders/{orderId}/shipments/{shipmentId}`

> **Deprecated.**

Update the tracking information on a shipment.

For an in-depth explanation of each parameter, refer to the [Create shipment](create-shipment) endpoint.

> 🔑 Access with
>
> [API key](/reference/authentication)
>
> [Advanced access token with **shipments.write**](/reference/authentication)
>
> [OAuth access with **shipments.write**](/reference/authentication)

## Query parameters

- `testmode` boolean

## Request body

- object
  - `tracking` object, required — Shipment tracking details. Can be omitted if tracking details are not available or not applicable.
    - `carrier` string — The name of the postal carrier.
    - `code` string — The track-and-trace code for the shipment.
    - `url` string — The URL where your customer can track the shipment.

## Response `200`

The updated shipment object.

## Other responses

- `404` — No entity with this ID exists.
- `429` — Rate Limit has been reached.

---

[API](https://skmtc.net/mollie/apis/accepting-payments.md) · [All operations](https://skmtc.net/mollie/apis/accepting-payments/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mollie/accepting-payments/revisions/4b45df3039ef/schema)
