vtex_reposition_sku_on_the_subcollection
Repositions a SKU within a Legacy CMS subcollection by updating its order with the collection ID, so you can correct or rearrange product placement.
Instructions
[POST] Reposition SKU on the subcollection | Category: Subcollection | Path: /api/catalog/pvt/collection/:collectionId/position | 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: collectionId
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": {
"collectionId": "<collectionId>"
},
"name": "vtex_reposition_sku_on_the_subcollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| collectionId | Yes | Path parameter: collectionId |