List contacts associated with product
GET {{baseUrl}}/v1/products/:products_id/contacts
This API lists the contacts associated with a product.
OAuth Scope
Desk.contacts.READ
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the contacts must be listed | |
limit | string | Number of contacts to fetch | |
sortBy | string | Parameter that sorts contacts by one of these attributes: <br>firstName, <br> <br>lastName, <br> <br>phone, <br> <br>email, <br> <br>account, <br> <br>createdTime, <br> <br>modifiedTime <br> | |
include | string | Key that fetches secondary information related to the contact.Value allowed is accounts | |
isSpam | string | Filters Spam contacts |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"lastName":"Case","secondaryEmail":null,"ownerId":null,"type":null,"accountId":"1892000000091433","firstName":"Jonathan","photoURL":"https://desk.zoho.com/api/v1/contacts/1892000000772003/photo","isAnonymous":true,"phone":"555555","webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","createdTime":"2017-10-12T13:11:50.000Z","zohoCRMContact":null,"id":"1892000000772003","customerHappiness":{"badPercentage":"0","okPercentage":"0","goodPercentage":"0"},"email":"case@zylker.com"},{"lastName":"Jade","secondaryEmail":null,"ownerId":null,"type":null,"accountId":"1892000000052077","firstName":"Christ","photoURL":null,"isAnonymous":true,"phone":null,"webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38","createdTime":"2017-10-12T13:11:50.000Z","zohoCRMContact":{"id":"1892000000772030","type":"contacts_leads"},"id":"1892000000772001","customerHappiness":{"badPercentage":"22","okPercentage":"31","goodPercentage":"47"},"email":"jade@zylker.com"}]}