get http://staging-apigateway.snapdeal.com/seller-api/categories//children
Get the children categories for given categoryId
Request
Note
Default pageSize = 10
Default pageNumber = 1
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
categoryId | Integer | Query | Mandatory | Id of the category for which children are required |
pageNumber | int | Query | Optional | pageNumber used for pagination |
pageSize | int | Query | Optional | pageSize 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 : List of CategoryDTO
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 |