latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

JobGroups

Update a job group line item

Update the details of a single job group line item (required scope jobs:write)

patch/v1/jobGroups/{jobGroupId}/lineItems/{lineItemId}

Path parameters

jobGroupIdinteger required

The job group id

lineItemIdinteger required

The line item id

Headers

Customer-Idinteger required

The customer identifier

Request body

quantitynumber double

Quantity of the line item<br/><br/>Optional: Omit to retain current value

descriptionstring

Description of the line item<br/><br/>Optional: Omit to retain current value

taxIdinteger nullable

Id of the vat/tax rate applied to this item<br/><br/>Optional: Omit to retain current value or provide null to unset

unitCostnumber double nullable

Cost of the line item<br/><br/>Optional: Omit to retain current value or provide null to unset

unitSellingPricenumber double

Price of each individual unit associated to the line item<br/><br/>Optional: Omit to retain current value

nominalCodeIdinteger nullable

Id of the associated nominal code<br/><br/>Optional: Omit to retain current value or provide null to unset

departmentCodeIdinteger nullable

Id of the associated department code<br/><br/>Optional: Omit to retain current value or provide null to unset

Example request

{
  "quantity": 5,
  "description": "Copper pipe - 1m",
  "taxId": 854,
  "unitCost": 2.5,
  "unitSellingPrice": 5.99,
  "nominalCodeId": 45,
  "departmentCodeId": 22
}

Response

No Content