Skip to main content

Get Sub Category Brands

You can list all brands belonging to a sub category using this service. Brand IDs returned here can be used as the subCategoryBrandId filter parameter on the Get Products service.

Request

curl --location --request GET '<BASE_URL>/sub-category-brands?subCategoryId=36'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'

Request Parameters

ParameterTypeRequired
Description
subCategoryIdIntegerYesThe sub category ID to list brands for

Response

200 OK
[
{
"id": 886,
"name": "Apple",
"subCategoryId": 36
},
{
"id": 887,
"name": "Samsung",
"subCategoryId": 36
}
]

Response Fields

FieldTypeDescription
idIntegerBrand ID
nameStringBrand name
subCategoryIdIntegerParent sub category ID