---
title: "Cancel purchase order V3"
method: PATCH
path: "/api/v3/purchaseOrders/{id}/actions/cancel"
tags: ["PurchaseOrder"]
---

# Cancel purchase order V3

`PATCH /api/v3/purchaseOrders/{id}/actions/cancel`

This endpoint requires the following scopes: `purchaseOrder:cancel`.

Cancel a purchase order. Purchase orders in status draft or completed cannot be cancelled.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Problem occurred
- `429` — Too Many Requests

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
