Update prices

ps_update_prices

Write · preview + approveBlock 2 · Commerce (off by default)Daily connectorBlock off after install

Changes product prices. Big jumps need your extra approval.

Ask Claude

„Raise gross prices in Garden lighting by 5%, rounded to .99.”

Example preview

22 products. Product 45: 129.00 -> 135.99 PLN gross (110.56 net), +5.4%. No change above 30%.

Technical details

Changes the base price of products, given gross or net, and optionally the wholesale (purchase) price, for up to 100 products per call. The preview shows old and new prices and the change in percent. A price of 0 can't be set. A change above 30% is refused unless allow_big_change is set after your explicit approval.

Parameters

Parameter names are not confirmed in module 0.3.0 yet and may change.

NameTypeRequiredDescription
itemsarray of objectyesOne item per product: product reference, new price as gross or net (one of them), optional wholesale_price. Combination-level prices: .
allow_big_changebooleannoMust be true to accept a change above the tool's safety threshold. Claude sets it only after you approved that size of change.
shop_idintegernoShop ID in a multistore installation. Defaults to the shop in the connector address. IDs are listed by ps_get_shop_info.
confirmbooleannofalse (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token.
change_tokenstringwhen: confirm=trueToken from the preview. Required with confirm=true. Valid 30 minutes, single use, bound to the previewed arguments and data state.

Limits

Max 100 products per call. Price 0 not allowed. Change above 30% needs allow_big_change. Block 2 is off after install. Permission checked per action in the back office (Catalog > Products).

What you see before anything is saved

Claude first calls the tool without confirming it. The module returns a preview (current and new values) and a single-use token valid for 30 minutes. Claude shows you the preview and saves the change only after your yes.

Related tools

Last updated: 2026-10-03