vtex_reorder_sku_files
Define the display order of SKU images by sending every file ID with its new position for a given SKU.
Instructions
[PUT] Reorder SKU files | Category: SKU file | Path: /api/catalog/pvt/stockkeepingunit/:skuId/file/reorder | Description: Defines SKU images positions. For the request to work properly, you must send all SKU images positions. For example, if the SKU has 10 images, you have to send in the request all file IDs and position | Path params: skuId
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>"
},
"name": "vtex_reorder_sku_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| skuId | Yes | Path parameter: skuId |