Job Materials

Create a new Job Material

OAuth Scope

This endpoint requires the following OAuth scope manage_job_materials.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/jobmaterial.json

Request body

uuidstring uuid

Unique identifier for this record

active0 | 1

Record active/deleted flag. Valid values are [0,1]

edit_datestring

Timestamp at which record was last modified

job_uuidstring uuid
material_uuidstring uuid
namestring
quantitystring required
pricestring
displayed_amountstring
displayed_amount_is_tax_inclusivestring
tax_rate_uuidstring uuid
sort_orderstring
coststring
displayed_coststring
job_material_bundle_uuidstring uuid

UUID of a JobMaterialBundle which this JobMaterial belongs to. The default value is blank, which means that the JobMaterial is not part of a JobMaterialBundle.

Example request

{
  "uuid": "123e4567-148e-4830-9d5b-230b716e368b",
  "edit_date": "2025-07-01 12:00:00",
  "job_uuid": "123e4567-0f48-41f3-a65d-230b7d1599db",
  "material_uuid": "123e4567-9155-4cdb-97eb-230b79f35d0b",
  "tax_rate_uuid": "123e4567-950c-4a2d-8a4c-230b7122f5eb",
  "job_material_bundle_uuid": "123e4567-3eb3-42b0-be20-230b7aefef2b"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes