vtex_create_sku_ean
Creates the EAN value for a specific SKU using its SKU ID. Use it to assign a barcode identifier; existing EAN values cannot be updated.
Instructions
[POST] Create SKU EAN | Category: SKU EAN | Path: /api/catalog/pvt/stockkeepingunit/:skuId/ean/:ean | Description: Creates the EAN value of an SKU. It is not possible to update the EAN. ## Permissions Any user or API key must have a | Path params: skuId, ean
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>",
"ean": "<ean>"
},
"name": "vtex_create_sku_ean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ean | Yes | Path parameter: ean | |
| body | No | Request body (JSON object) | |
| skuId | Yes | Path parameter: skuId |