Sync Departments

Sync the complete list of departments for this source, matching by external ID.
Omitted departments become inactive; an empty list deactivates all departments
for this source. Parent departments must be included in the same request.
A successful response confirms that the departments were saved. Changes may
take time to appear in the ledger.

Requires scope: source:sync.

Body Params
departments
array of objects
required

Complete list of departments for this source. Omitted departments become inactive;
an empty list deactivates all departments for this source. Reference departments
on transactions using their external IDs.

departments*
entity
object

Entity whose connection scopes the request. Optional unless using an organization-level token.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json