Products Search API
GET {{baseUrl}}/api/v1/products/search
This API searches for products in your help desk. The values can be given comma separated, which denotes the search on the field is done using either of the values given.
Zoho Desk APIs support two types of search:exact match and wildcard match.
exact match returns resources only if the value passed exactly matches with a resource in the help desk.
wildcard match returns resources even if the value passed partially matches with a resource in the help desk.
To perform wildcard match, append an asterisk (*) after the value to search.
OAuth Scope
Desk.search.READ
Desk.products.READ
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | From index, starts from 0 | |
limit | string | No. of entities to fetch | |
departmentId | string | ID of the department from which the entity must be fetched if not passed then searches in permitted departments <br>exact match <br> | |
id | string | ID of the Product <br>exact match <br> | |
productName | string | Name of the Product <br>wildcard search <br> | |
productCode | string | Code of the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
contactId | string | ID of the contact associated with the product <br>exact match <br> | |
accountId | string | ID of the account associated with the product <br>exact match <br> | |
_all | string | Search throughout the product <br>wildcard search <br> | |
customField1 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField2 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField3 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField4 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField5 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField6 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField7 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField8 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField9 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
customField10 | string | Custom field in the product <br>wildcard search <br> <br>empty check <br> <br>not empty check <br> | |
createdTimeRange | string | Key that filters products created in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z | |
modifiedTimeRange | string | Key that filters products modified in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z | |
sortBy | string | SortBy can be: <br>relevance ,<br> <br>modifiedTime ,<br> <br>createdTime ,<br> <br>productName <br> |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"modifiedTime":"2017-11-02T10:31:35.000Z","productCode":"Search2","cf":{"cf_productTagName":null},"createdBy":"5000000009116","description":null,"createdTime":"2017-11-02T10:31:35.000Z","modifiedBy":"5000000009116","departmentIds":["5000000007235"],"id":"5000000009882","productName":"Search2"}],"count":1}