put https://{accountName}.{environment}.com.br/api/catalog/pvt/subcollection/
Updates a previously SubCollection.
Request object has the following properties:
Attribute | Type | Description |
---|---|---|
CollectionId | integer | Collection ID. |
Name | string | SubCollection Name. |
Type | string | Either “Exclusive” (all the products contained in it will not be used) or “Inclusive” (all the products contained in it will be used). |
PreSale | boolean | Defines if the collection is on PreSale. |
Release | boolean | Defines if the collection is a new released one. |
Request body example:
{
"CollectionId": 149,
"Name": "Test",
"Type": "Exclusive",
"PreSale": true,
"Release": false
}
Response body has the following properties:
Attribute | Type | Description |
---|---|---|
CollectionId | integer | Collection ID. |
Name | string | SubCollection Name. |
Type | string | Either “Exclusive” (all the products contained in it will not be used) or “Inclusive” (all the products contained in it will be used). |
PreSale | boolean | Defines if the collection is on PreSale. |
Release | boolean | Defines if the collection is a new released one. |
Response body example:
{
"CollectionId": 149,
"Name": "Test",
"Type": "Exclusive",
"PreSale": true,
"Release": false
}