get https://{accountName}.{environment}.com.br/api/catalog/pvt/collection//subcollection
Retrieves all Subcollections by its Collection ID.
Response body has the following properties:
Attribute | Type | Description |
---|---|---|
| integer | SubCollection ID. |
| integer | Collection ID. |
| string | SubCollection Name. |
| string | Either “Exclusive” (all the products contained in it will not be used) or “Inclusive” (all the products contained in it will be used). |
| boolean | Defines if the collection is on PreSale. |
| boolean | Defines if the collection is a new released one. |
Response body example:
[
{
"Id": 12,
"CollectionId": 149,
"Name": "Subcollection",
"Type": "Inclusive",
"PreSale": false,
"Release": true
},
{
"Id": 13,
"CollectionId": 149,
"Name": "Test",
"Type": "Exclusive",
"PreSale": true,
"Release": false
},
{
"Id": 14,
"CollectionId": 149,
"Name": "asdfghj",
"Type": "Inclusive",
"PreSale": false,
"Release": false
}
]