HTTP Methods
Zoho Inventory 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/inventory/v1/contacts?authtoken=ba46xxxxxxxxxxxxxxxxxxxxxxxxoec5&organization_id=10234695
To get the details of a customer referred to by a specified customer_id
$ curl https://www.zohoapis.com/inventory/v1/contacts/903000000000099?authtoken=ba46xxxxxxxxxxxxxxxxxxxxxxxxoec5&organization_id=10234695