Bulk update prices
bulk_update_pricesUpdate up to 5,000 product variants in a single atomic request, syncing an entire catalog without per-item calls. Invalid items reject the whole batch, so no partial updates are applied until every price is correct.
Instructions
Update prices of up to 5000 variants in one synchronous, atomic request — the fast path for syncing a whole catalog instead of calling update_variant per item. If a single item is invalid (variant unknown or archived, variant listed twice, price malformed, discount price above the base price) the whole request is rejected with 400 and NOTHING is applied; the response errors list names every offending variant. Both price fields are optional per item: omit a key to keep the current value, or send null to reset it (resetting price works only on unpublished variants). Changing price recomputes the promo price; promo membership is refreshed in the background afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Price updates, 1-5000 items, one entry per variant. |