Bulk Price Change
bulk_price_changeApply one pricing rule across a list of prices and show the effect. PREMIUM (license).
Percentage first, then the flat amount, then rounding — stated explicitly because the order changes the answer. Typical input {"prices": [19.99, 24.5], "change_pct": 10, "charm_ending": ".99"} returns {"rows": [{"was": 19.99, "now": 21.99}, {"was": 24.5, "now": 26.99}], "total_was": 44.49, "total_now": 48.98, "uplift_pct": 10.09}.
Use when repricing a catalogue before export. Not for what a price nets you after Shopify's fees — that is payout_estimate. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "prices must contain at least one price"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | Current prices, at least one, each greater than 0. | |
| round_to | No | Rounding increment applied last, e.g. 0.01 or 0.05. Default 0.01. | |
| change_pct | No | Percentage change applied first, e.g. 10 to raise by 10% or -5 to cut by 5%. Default 0. | |
| change_flat | No | Flat amount applied after the percentage. Default 0. | |
| charm_ending | No | Force every price to end in these cents, e.g. ".99" or ".95". Applied after rounding. Empty by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||