---
title: "Undo Purchase Order Purchase"
method: PATCH
path: "/purchase_orders/{number}/undo_purchase"
tags: ["Purchase Orders"]
---

# Undo Purchase Order Purchase

`PATCH /purchase_orders/{number}/undo_purchase`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/purchase_orders/{number}/undo_purchase`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/purchase_orders/:number/undo_purchase/patch.ts> (a function with typed inputs; its response is checked against the schema)

Undo a Purchase Order Purchase

## Path parameters

- `number` string, required

## Response `204`

OK

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
