Replace Work Order Line Items
Replaces all line items on a work order. Internally updates or creates the underlying quote linked to the task.
Supported **only** for service work orders on an **account** (parent project type `ACCOUNT`). Requests for other work orders receive `400`.
Provide **either** `sections` **or** `lineItems` (not both), using the same shapes as quote line items.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
workOrderId
Work order identifier
Request
This endpoint expects an object.
sections
lineItems
Response
Updated line items (dollar amounts)
id
quantity
description
unitCost
totalCost
unitPrice
totalPrice
sectionId
Present when the item belongs to a named section
sectionName
catalogItem
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
