vtex_copy_files_from_an_sku_to_another_sku
Copy all existing files from a source SKU to a target SKU in VTEX to reuse product file data without re-uploading each file.
Instructions
[PUT] Copy files from an SKU to another SKU | Category: SKU file | Path: /api/catalog/pvt/stockkeepingunit/copy/:skuIdfrom/:skuIdto/file | Description: Copy all existing files from an SKU to another SKU. ## Permissions Any user or API key must have at least one of the | Path params: skuIdfrom, skuIdto
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": {
"skuIdfrom": "<skuIdfrom>",
"skuIdto": "<skuIdto>"
},
"name": "vtex_copy_files_from_an_sku_to_another_sku"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| skuIdto | Yes | Path parameter: skuIdto | |
| skuIdfrom | Yes | Path parameter: skuIdfrom |