Add Pricing Rule
hgr_add_pricing_ruleAdds a pricing rule for one visible store. Requires confirmed=true and impactConfirmed=true because pricing rules can affect many listings. Requires HGRApi Header channel / ChannelOAuthId resolved internally.
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": {
"body": "<body>",
"confirmed": "<confirmed>",
"impactConfirmed": "<impactConfirmed>",
"channelOAuthId": "<channelOAuthId>"
},
"name": "hgr_add_pricing_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | WAPI PricingRulesRequest body: SourceId, PriceFrom, PriceTo, Markup, MarkupFixed. | |
| confirmed | Yes | Must be true after the user explicitly requested or confirmed the exact action. | |
| channelOAuthId | Yes | ChannelOAuthId returned by hgr_list_channels for the selected visible store. | |
| impactConfirmed | Yes | Must be true after the user explicitly confirmed the concrete high-impact consequences. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||