vtex_get_subcollection_by_subcollection_id
Retrieve a VTEX subcollection by its subcollection ID to inspect details for Legacy CMS Portal collections. Use it when you need collection metadata for a specific subcollection.
Instructions
[GET] Get subcollection by subcollection ID | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId | 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] | Path params: subCollectionId
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subCollectionId": "<subCollectionId>"
},
"name": "vtex_get_subcollection_by_subcollection_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subCollectionId | Yes | Path parameter: subCollectionId |