---
title: "Mark a purchase order as cancelled"
method: PUT
path: "/v1/finance/purchaseOrders/{purchaseOrderId}/cancel"
tags: ["PurchaseOrders"]
---

# Mark a purchase order as cancelled

`PUT /v1/finance/purchaseOrders/{purchaseOrderId}/cancel`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/finance/purchaseOrders/{purchaseOrderId}/cancel`
- Auth: HTTP bearer

Mark a purchase order as cancelled (required scope finance:write)

## Path parameters

- `purchaseOrderId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- CancelPurchaseOrderModel: Represents a model that holds information about cancelling a purchase order
  - `cancelledAt` string, date-time, nullable: The date and time of the cancellation, cannot be in the future. If null defaults to UTC now
  - `reason` string, nullable: The reason for cancelling the purchase order

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

## Changes

- **2026-09-03** `553de7d50a1c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bigchange/apis/bigchange-dx/changes/v1/finance/purchaseOrders/:purchaseOrderId/cancel/put.md)

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
