-
Notifications
You must be signed in to change notification settings - Fork 0
API
David Benton edited this page Jul 26, 2022
·
3 revisions
GET /api/v1/clients?filter=[active|inactive]
Returns an Array of client objects. No filter will return all clients
GET /api/v1/clients/[id]
Depreciated
GET /api/v1/clients/:clientId/items?invoiced=[yes|no]
Returns array of a client's item objects. Defaults to invoiced=yes
GET /api/v1/clients/:clientId/invoices
Returns an array of invoice objects for a client
POST /api/v1/clients
Takes a client object and creates a new client
Add example
PATCH /api/v1/clients
Takes a client object and updates the client based on the id
Add example