Retrieve all subcategories under a category.
GET
/api/v1/products/categories/{categoryId}/subcategoriesRetrieve all subcategories under a category currently being offered.
Request
Path Params
categoryId
number
required
The category id of the subcategories to retrieve.
Example:
101
Request samples
Responses
Subcategories retrieved successfully.(200)
Subcategories retrieved successfully.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
subcategoryId
number
required
The id of the subcategory.
Example:
101001
name
string
required
The name of the subcategory.
Example:
0.75in Stretched Canvas
minimumWidth
number
required
The minimum width of the subcategory product.
Example:
5
maximumWidth
number
required
The maximum width of the subcategory product.
Example:
120
minimumHeight
number
required
The minimum height of the subcategory product.
Example:
5
maximumHeight
number
required
The maximum height of the subcategory product.
Example:
52
requiredDPI
number
required
The required DPI of the subcategory product.
Example:
200
Example
[
{
"subcategoryId": 101001,
"name": "0.75in Stretched Canvas",
"minimumWidth": 5,
"maximumWidth": 120,
"minimumHeight": 5,
"maximumHeight": 52,
"requiredDPI": 200
}
]
Last modified: a year ago