get http://staging-apigateway.snapdeal.com/seller-api/categories/search
This API allows you to search a category by name. The response is structured to the level depending upon what is the sub-cat or product that results in search.
Note
Default pageSize = 10
Default pageNumber = 1
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| searchKey | String | Query | Mandatory | searchKey |
| pageSize | int | Query | Optional | pageSize used for pagination |
| pageNumber | int | Query | Optional | pageNumber used for pagination |
Response
metadata :
| FieldName | DataType | Description |
|---|---|---|
| requestId | String | Unique ID for the request |
| clientId | String | PartnerI Id |
| responseTime | Long | Response Time |
| requestedURI | String | Requested URI |
| message | String | Error message |
payload :
| FieldName | DataType | Description |
|---|---|---|
| results | List | List of CategoryDTOs |
| pageNumber | int | page Number |
| pageSize | int | page Size |
CategoryDTO :
| FieldName | DataType | Description |
|---|---|---|
| id | Integer | Category Id |
| name | String | Category Name |
| productType | boolean | value false means category contains child categories. |
| categoryUrl | String | categoryUrl |
| parentCategory | CategoryDTO | parentCategory |
