Set product tiers
set_product_tiersConfigure B2B volume price breaks on a product so the cart and order charge the correct lower unit price as quantity increases.
Instructions
Set the record-level volume price breaks on a product (B2B quantity discounts). They price the product and every variant that defines no breaks of its own; a variant's own breaks are part of its definition, so set those with set_product_variants. A line's unit price steps down to the highest break its quantity reaches, and the cart and the order both charge that price. Prices are minor units of the default currency; breaks in an additional currency are set with set_product_currency_prices. Passing an empty array removes the breaks. increment sets the order step on the same record.
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": {
"recordId": "<recordId>",
"tiers": "<tiers>"
},
"name": "set_product_tiers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tiers | Yes | Volume breaks. Each break must be cheaper than the one below it, and cheaper than the base price. Order does not matter - they are sorted by minQty. Empty array clears them. | |
| recordId | Yes | Product record id | |
| increment | No | Order step (1-999): quantities must be a multiple of it (12 = buy in 12s). 1 removes the rule; omit to keep the current one. Variants inherit it. |