---
title: "Update or cancel tracking information for an order"
method: PATCH
path: "/v2/checkout/orders/{id}/trackers/{tracker_id}"
tags: ["trackers"]
---

# Update or cancel tracking information for an order

`PATCH /v2/checkout/orders/{id}/trackers/{tracker_id}`

Updates or cancels the tracking information for a PayPal order, by ID. Updatable attributes or objects:<br/><br/><table><thead><th>Attribute</th><th>Op</th><th>Notes</th></thead><tbody></tr><tr><td><code>items</code></td><td>replace</td><td>Using replace op for <code>items</code> will replace the entire <code>items</code> object with the value sent in request.</td></tr><tr><td><code>notify_payer</code></td><td>replace, add</td><td></td></tr><tr><td><code>status</code></td><td>replace</td><td>Only patching status to CANCELLED is currently supported.</td></tr></tbody></table>

## Path parameters

- `id` string, required
- `tracker_id` string, required

## Headers

- `Authorization` string — Standard headers are generally less restrictive in structure due to historical precedent across browsers, etc. This is a common schema for use in defining most standard headers.
- `PayPal-Auth-Assertion` string — Header for an API client-provided JWT assertion that identifies the merchant. Establishing the consent to act-on-behalf of a merchant is a prerequisite for using this header.

## Request body

- Patch[] — An array of JSON patch objects to apply partial updates to resources.
  - `op` 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test', required — The operation.
  - `path` string — The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a> to the target document location at which to complete the operation.
  - `value` unknown
  - `from` string — The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a> to the target document location from which to move the value. Required for the <code>move</code> operation.

## Response `204`

No Content.

## Other responses

- `400` — Request is not well-formed, syntactically incorrect, or violates schema.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `422` — The requested action could not be performed, semantically incorrect, or failed business validation.
- `500` — Internal Server Error.
- `default` — Default response.

---

[API](https://skmtc.dev/paypal/apis/payments.md) · [All operations](https://skmtc.dev/paypal/apis/payments/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/paypal/payments/revisions/672aceee1190/schema)
