Skip to main content

Reject Purchase Order Batch

POST 

/api/purchase-order-batches/:purchaseOrderBatch/reject

Reject every pending approval request in the batch, or only those in request_ids, with one reason copied onto each. Requests left pending keep the tier they were raised under. Ones the caller cannot act on are returned in skipped.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the purchase-orders scope (read for GET, write for POST/PUT/DELETE).

Body fields:

  • request_ids (array of integers, optional, max 500) — reject only these pending requests
  • notes (string, required, 3–1000 chars) — the reason

Request​

Responses​

OK

Response Headers
    Content-Type