Skip to main content
PATCH
Update One Purchase Order

Authorizations

Authorization
string
header
required

Your API key, sent in the Authorization header: Authorization: YOUR_API_KEY. A Bearer prefix is also accepted (Authorization: Bearer YOUR_API_KEY). Keys are created in the Upwell dashboard (Account → API keys) and are scoped to one organization.

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string
input
SupportingDocsPurchaseOrdersSetInput · object | null

input type for updating data in table "supporting_docs.purchase_orders"

Response

Responses for PATCH /api/rest/purchase-orders/{id}

updatePurchaseOrder
SupportingDocsPurchaseOrders · object | null

Purchase Order supporting document - parsed data from PURCHASE_ORDER documents (inbound POs from the tenant's customers), modeled for EDI 850-series generation