vtex_get_trade_policies_by_product_id
Retrieves trade policies associated with a product ID to show which sales channels or policies apply to that catalog item.
Instructions
[GET] Get trade policies by product ID | Category: Trade policy | Path: /api/catalog/pvt/product/:productId/salespolicy | Description: Retrieves a list of trade policies associated to a product by its ID. ## Permissions Any user or API key must have at | Path params: productId
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>"
},
"name": "vtex_get_trade_policies_by_product_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Path parameter: productId |