vtex_update_attachment
Update an existing SKU attachment with new information by sending a PUT request to the attachment ID endpoint, so catalog attachment details stay current.
Instructions
[PUT] Update attachment | Category: Attachment | Path: /api/catalog/pvt/attachment/:attachmentid | Description: Updates a previously existing SKU attachment with new information. >⚠️ To understand the specific syntax for Assembly Options attachments, read the [Assembly Options](https://help.vtex.com/en/tutor | Path params: attachmentid
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": {
"attachmentid": "<attachmentid>"
},
"name": "vtex_update_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| attachmentid | Yes | Path parameter: attachmentid |