action vtex_get_api_catalog_pvt_subcollection_sub_collection_id { label: "Get Subcollection" description: " >⚠️ There are two ways to configure collections, through Legacy CMS Portal or using the Beta Collection module. This endpoint is compatible with [collections configured through the Legacy CMS Portal](https://help.vtex.com/en/tutorial/adding-collections-cms--2YBy6P6X0NFRpkD2ZBxF6L).\n\nRetrieves information about a Subcollection, which is a [Group](https://help.vtex.com/en/tutorial/adding-collections-cms--2YBy6P6X0NFRpkD2ZBxF6L#group-types) within a Collection. \n## Response body example \n \n```json \n{ \n \"Id\": 13, \n \"CollectionId\": 149, \n \"Name\": \"Test\", \n \"Type\": \"Exclusive\", \n \"PreSale\": true, \n \"Release\": false \n} \n```" provider: vtex method: GET path: "/api/catalog/pvt/subcollection/{subCollectionId}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } "Content-Type": { type: "string" } subCollectionId: { type: "integer" } } required: ["Accept", "Content-Type", "subCollectionId"] additionalProperties: false } output: { type: "object" properties: { CollectionId: { type: "integer" description: "Collection ID." } Id: { type: "integer" description: "Subcollection ID." } Name: { type: "string" description: "Subcollection Name." } PreSale: { type: "boolean" description: "Defines if the collection is on PreSale." } Release: { type: "boolean" description: "Defines if the collection is a new released one." } Type: { type: "string" description: "Either `“Exclusive”` (all the products contained in it will not be used) or `“Inclusive”` (all the products contained in it will be used)." } } } }