Set variant price
set_variant_priceSet a variant's base price for one currency without affecting other prices; use price lists for sale or customer-group pricing.
Instructions
Sets the base price (no price rules) of a variant in one currency. All other prices of the variant are preserved. The amount is in major currency units (e.g. 49.99 = 49.99 EUR). For sale or customer-group prices use price lists.
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": {
"product_id": "<product_id>",
"variant_id": "<variant_id>",
"currency_code": "<currency_code>",
"amount": "<amount>"
},
"name": "set_variant_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| product_id | Yes | ||
| variant_id | Yes | ||
| currency_code | Yes | E.g. eur, usd |