====== Creating Clients ======
client.create: Create a new client and return the corresponding client_id.
===== Request =====
ABC Corp //mandatory
123 Fake St.
Unit 555
New York
NY
553132
US
http://www.janedoe.com
(123) 456-7890
(123) 456-7890
Jane //mandatory
Doe //mandatory
janedoe@janedoe.com//mandatory
(123) 456-7890
(123) 456-7890
===== Response =====
1
===== Updating Clients =====
client.update
Update the details of the client with the given client_id. Any fields not referenced in the request will remain unchanged.
==== Request ====
1
# Same params as client.create
==== Response ====
===== Client Get =====
client.get: Return the client details associated with the given client_id.
==== Request ====
1
==== Response ====
1
ABC Corp
123 Fake St.
Unit 555
New York
NY
553132
US
http://www.janedoe.com
(123) 456-7890
(123) 456-7890
Jane
Doe
janedoe@janedoe.com
(123) 456-7890
(123) 456-7890
===== Deleting Clients =====
client.delete: Delete the client with the given client_id.
==== Request ====
1
==== Response ====
===== List Clients =====
client.list: Returns a list of clients.
==== Request ====
ABC Corp # Filter by name (Optional)
1 # The page number to show (Optional)
15 # Number of results per page, default 25 (Optional)
==== Response ====
1
ABC Corp
123 Fake St.
Unit 555
New York
NY
553132
US
http://www.janedoe.com
(123) 456-7890
(123) 456-7890
Jane
Doe
janedoe@janedoe.com
(123) 456-7890
(123) 456-7890