---
title: "Update Purchase Order Fields"
method: PATCH
path: "/purchase_orders/{purchase_order_uid}"
---

# Update Purchase Order Fields

`PATCH /purchase_orders/{purchase_order_uid}`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/purchase_orders/{purchase_order_uid}`
- Auth: API key in header `x-api-key`

Operates on Purchase Orders. In the Zuper client app this module is labeled "Purchase Order" for most companies, and "Material Order" for companies in the roofing industry — the API and data shape are identical either way. Purchase Orders and Work Orders (Service Orders) share the exact same underlying schema and endpoints; they're distinguished only by the `purchase_order_type` field (`PURCHASE_ORDER` here) and the `/purchase_orders` vs `/service_orders` route prefix. This is a narrower field set than the full PUT update — intended for lightweight edits (title, dates, remarks, vendor/payment term) without resending the whole order. Changing `vendor` via this endpoint is only allowed for Work Orders (Service Orders) — attempting it on a Purchase Order / Material Order is rejected with 400.

## Path parameters

- `purchase_order_uid` string, required

## Request body

- object
  - `purchase_order_title` string
  - `reference_number` string
  - `remarks` string
  - `due_date` string, date
  - `delivery_time` 'ANYTIME' | 'MORNING' | 'AFTERNOON' | 'SPECIAL_REQUEST'
  - `vendor` string: Changing `vendor` via this endpoint is only allowed for Work Orders (Service Orders) — attempting it on a Purchase Order / Material Order is rejected with 400.
  - `payment_term` string
  - `template` string
  - `job_measurement_uids` string[]
  - `job_attachments_uids` string[]

## Response `200`

200

- object
  - `type` 'success'
  - `title` string: Exact wording is "Purchase Order" for most companies, or "Material Order" for roofing-industry companies.
  - `message` string: Exact wording is "Purchase Order" for most companies, or "Material Order" for roofing-industry companies.

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/purchase_orders/:purchase_order_uid/patch.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
