Retrieve all options available for the subcategory.
GET
/api/v1/products/subcategories/{subcategoryId}/optionsRetrieve all options available for a subcategory.
Request
Path Params
subcategoryId
number
required
The subcategory id of the options to retrieve.
Example:
105001
Request samples
Responses
Options retrieved successfully.(200)
Options retrieved successfully.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
optionGroup
string
required
The name of the option group.
Example:
Canvas Border
optionGroupItems
array[object (OptionGroupItemDto) {2}]
required
The items in the option group.
optionId
number
required
The id of the option.
Example:
1
optionName
string
required
The name of the option.
Example:
Image Wrap
Example
[
{
"optionGroup": "Canvas Border",
"optionGroupItems": [
{
"optionId": 1,
"optionName": "Image Wrap"
}
]
}
]
Last modified: a year ago