Update Client Work Order
Update a client's work order. Supports partial updates.
Updatable fields:
- title, description, priority
- startDate, endDate, startDateAllDay, endDateAllDay
- status (label string)
- assigneeId
- visits: Only applicable on field work orders. When provided, the `visits` array REPLACES the full set of visits for the work order. Include all existing visits you wish to keep or update (with their `id`), and include new visits without an `id`. Any existing visit not included in the request will be removed. Visit booleans default to false when omitted.
- checklist: Update the checklist for the work order.
When this field is provided, the `checklist` array REPLACES the full set of checklist items on the work order.
- Include every existing item you want to keep or modify (identified by `id`).
- Any existing item NOT included in this array will be removed.
- Each item MUST include an `id`. Items without an `id` are ignored (checklist item creation is not supported).
Authentication
x-api-keystring
API Key authentication via header
Path parameters
clientId
Client identifier
workOrderId
Work order identifier
Request
This endpoint expects an object.
title
description
priority
startDate
startDateAllDay
endDate
endDateAllDay
status
Status label
assigneeId
User identifier to assign to the work order
collaborators
User identifiers to assign as collaborators to the work order
visits
Only applicable on field work orders. When provided, the visits array REPLACES the full set of visits for the work order. Include all existing visits you wish to keep or update (with their id), and include new visits without an id. Any existing visit not included in the request will be removed. Visit booleans default to false when omitted.
checklist
Update the checklist for the work order.
When this field is provided, the `checklist` array REPLACES the full set of checklist items on the work order.
- Include every existing item you want to keep or modify (identified by `id`).
- Any existing item NOT included in this array will be removed.
- Each item MUST include an `id`. Items without an `id` are ignored (checklist item creation is not supported).
Response
Work order updated successfully
id
Work order identifier
uid
Unique work order number within the project
templateId
Template identifier for the work order
createdAt
Creation timestamp
updatedAt
Last update timestamp
title
Work order title
description
Work order description
priority
Priority level
startDate
Scheduled start date
startDateAllDay
Whether the start date is an all-day event
endDate
Scheduled end date
endDateAllDay
Whether the end date is an all-day event
completedAt
Timestamp when the work order was completed
isArchived
Whether the work order is archived
isCompleted
Whether the work order is completed
isField
Whether the work order is a field task
labels
Labels associated with the work order
project
Project associated with the work order
assignee
User assigned to the work order
visits
Site visits associated with the work order (legacy shape)
statuses
History of status changes and time spent in each status
status
Current status of the work order
checklist
Checklist items for the work order
