Update prices
ps_update_prices
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.
| Name | Type | Required | Description |
|---|---|---|---|
| items | array of object | yes | One item per product: product reference, new price as gross or net (one of them), optional wholesale_price. Combination-level prices: . |
| allow_big_change | boolean | no | Must be true to accept a change above the tool's safety threshold. Claude sets it only after you approved that size of change. |
| shop_id | integer | no | Shop ID in a multistore installation. Defaults to the shop in the connector address. IDs are listed by ps_get_shop_info. |
| confirm | boolean | no | false (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token. |
| change_token | string | when: confirm=true | Token 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
- Manage sale prices (specific prices) ps_manage_specific_prices
- Get product ps_get_product
- Revert change ps_revert_change
Last updated: 2026-10-03