vtex_update_sku_file
Updates an SKU image by replacing the file identified by SKU ID and file ID, using a URL or form-data request body.
Instructions
[PUT] Update SKU file | Category: SKU file | Path: /api/catalog/pvt/stockkeepingunit/:skuId/file/:skuFileId | Description: Updates a new image on an SKU based on its URL or on a form-data request body. ## Permissions Any user or API key mus | Path params: skuId, skuFileId
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": {
"skuId": "<skuId>",
"skuFileId": "<skuFileId>"
},
"name": "vtex_update_sku_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| skuId | Yes | Path parameter: skuId | |
| skuFileId | Yes | Path parameter: skuFileId |