cURL
Employees
Update Employee
Updates an employee record based on the provided ID
PATCH
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the employee to update
Body
application/json
The employee data to update
Example:
"John"
Example:
"Doe"
Example:
null
Example:
"+1-555-555-5555"
Example:
"United States"
Example:
null
Example:
null
Example:
null
Example:
"123 Main Street Apt. 1 New York, NY"
Example:
null
Response
Employee record updated successfully
Example:
true
Example:
"Record Updated successfully"
Example:
{
"id": "9dfd3a42-b0e9-4f1b-a822-1b91f2149813",
"first_name": "Jackson",
"last_name": "Doe",
"email": "[email protected]",
"personal_email": null,
"phone": "+1-555-555-5555",
"country": "United States",
"landmark": null,
"last_login": null,
"job_title": null,
"tax_number": null,
"address": "Osuntokun Avenue, New Bodija, Ibadan",
"employment_type": null,
"level": null,
"status": null,
"country_code": "US",
"currency_code": "USD",
"departments": [],
"created_at": "2024-01-17T10:21:37.000000Z",
"catalogs": null,
"equipment": [],
"orders": []
}