Skip to content

Update Contractor

Update an existing contractor record. Requires the CONTRACTOR_MANAGEMENT feature flag and ADMIN or MANAGE_CONTRACTORS permissions.

Parameters

name * are required parametersdata typedescription
contractorId*stringThe unique identifier of the contractor to update
body.namestringUpdated display name
body.emailstringUpdated email address
body.phonestringUpdated phone number
body.companystringUpdated company name

Return Value

The updated contractor record.

Examples

bash
curl -X PUT "https://app.wombat.software/api/{targetPath}/contractor/:contractorId" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"name": "Updated Contractor Name"}'

ENDPOINTS

put/api/{targetPath}/contractor/:contractorId