PATCH
/
work-order
/
{id}

Authorizations

Authorization
string
headerrequired

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Path Parameters

id
string
required

The work order UUID (work_order.id) or work order number (work_order.wo_number). Both will map to the same work order

Body

application/json
name
string
required
component_id
string
required
quantity
integer
required
Required range: x > 1
updated_by_user_id
string
required
description
string
part_number_id
string
phase
string
assignee_user_id
string
deadline
string

Response

200 - application/json

Work Order Data

id
string
wo_number
integer
Required range: x > 0
name
string
description
string | null
component_id
string
part_number_id
string | null
created_at
string
created_by_user_id
string
status
enum<string>
default: DRAFT
Available options:
DRAFT,
REVIEW,
PRODUCTION,
COMPLETE,
CANCELED,
ARCHIVED
phase
string
quantity
integer
approvals
object

Approvals object will have one key value pair for every approver

assignee_user_id
string | null
deadline
string | null
activity_log
object[]
last_edited_at
string | null
attachments
object[]

Multiple datasets can be added to the attachments object