Skip to main content
PATCH
Associate PR line items with a PO line item

Authorizations

X-API-KEY
string
header
required
OW-KEY
string
header
required

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Path Parameters

ids
string
required

Comma-separated purchase-request line item ids

poLineItem
integer<int64>
required

Purchase-order line item id to associate

Response

The updated purchase-request line items

type
string
required

Entity type label, e.g. "SupplierPurchaseRequestLineItem". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.

data
object[]
required
count
integer<int64>
required

Total number of matching records (across all pages)

status
enum<string>
required

"ok" on success

Available options:
ok