vtex_associate_product_with_trade_policy
Associates an existing trade policy with a product in VTEX, linking sales channel availability so buyers see the product in the correct storefront.
Instructions
[POST] Associate product with trade policy | Category: Trade policy | Path: /api/catalog/pvt/product/:productId/salespolicy/:tradepolicyId | Description: Associates an existing trade policy with a product. ## Permissions Any user or API key must have at least one of the | Path params: productId, tradepolicyId
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": {
"productId": "<productId>",
"tradepolicyId": "<tradepolicyId>"
},
"name": "vtex_associate_product_with_trade_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| productId | Yes | Path parameter: productId | |
| tradepolicyId | Yes | Path parameter: tradepolicyId |