HTTP Methods
Zoho Books API uses appropriate HTTP verbs for every action.
| Method | Description |
|---|---|
| GET | Used for retrieving resources. |
| POST | Used for creating resources and performing resource actions. |
| PUT | Used for updating resources. |
| DELETE | Used for deleting resources. |
Using GET method, you can get the list of resources or details of a particular instance of a resource. To get a list of customers
$ curl https://www.zohoapis.com/books/v3/contacts?organization_id=10234695
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
To get the details of a customer referred to by a specified customer_id
$ curl https://www.zohoapis.com/books/v3/contacts/903000000000099?organization_id=10234695
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'