WorkItems

Update a line item

Partially updates one line: omitted fields keep their current value (quantity cannot be cleared back to null). amountCents and payoutAmountCents may be set to zero. Rejected with 409 when the work item is terminal or when the line has already been paid out (earningId set).

patch/v2/work-items/{workItemId}/line-items/{lineItemId}

Request

  • Base URL: https://api-docs.proofserve.com
  • URL: https://api-docs.proofserve.com/v2/work-items/{workItemId}/line-items/{lineItemId}
  • Auth: none declared

Request body

descriptionstring nullable
quantityinteger nullable
amountCentsinteger nullable
payoutAmountCentsinteger nullable

Response

The full updated line item.

Example response

{
  "data": {
    "description": "Court pickup fee"
  },
  "meta": {
    "requestId": "req_8xKp2mN4"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.