We have made some changes to the accountancy practice clients endpoint. These changes will allow you to sort and filter the results to get exactly what’s needed.
The following fields will no longer be returned by the clients endpoint:
second_sales_tax_rates (for non uk companies)
We have added the ability to sort by the following fields:
created_at: sort by the time the client was created (default)
updated_at: sort by the time the client was last updated
By default both of these sort in ascending order.
To sort in descending order, the sort parameter can be prefixed with a hyphen.
We have added some filters to allow you to retrieve a subset of clients based on the created_at date, as well as one for retrieving only recently updated clients.
from_date: only get clients created on or after the provided date
to_date: only get clients created on or before the provided date
updated_since: only get clients which have been updated since the provided date
If you have any questions or concerns regarding this change, please do let us know.
All the best,