v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
classifications

Update a department

Update details about an existing department.

patch/v3/classifications/departments/{id}

Path parameters

idstring required

BILL-generated ID of the department. The value begins with 0de.

Example:{{department_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring

Department name

shortNamestring

Department short name

descriptionstring

Department description

parentIdstring

BILL-generated ID of the parent department. You can set this field if this department is a child object.

Response

Update a department response

idstring

BILL-generated ID of the department. The value begins with 0de.

namestring

Department name

shortNamestring

Department short name

descriptionstring

Department description

parentIdstring

BILL-generated ID of the parent department. You can set this field if this department is a child object.

archivedboolean

Set as true if the department is archived

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time