Skip to main content
PATCH
Patch a work order (supplier reassignment only)

Autorisations

X-API-KEY
string
header
requis
OW-KEY
string
header
requis

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

Paramètres de chemin

id
integer
requis

Corps

application/json

Other fields are ignored.

supplierFacilityId
integer | null

New supplier facility to reassign the work order to.

supplierPrimaryContactEmail
string | null

Applied only together with a supplier facility change.

Réponse

Success.

type
string
requis

Entity type marker, e.g. "WorkOrder".

data
object
requis

Work order. ABRIDGED: the full case class has 150+ fields (hydrated approval hierarchies, budgets, troubleshooting answers, contractor/sub-contractor details, internal workspaces, labels, stars, etc.); only the commonly used fields are listed here and additional properties may appear in responses.

status
enum<string>
requis
Options disponibles:
ok