Update a price list
Updates a price list. The optional rules: array reconciles nested
STI-typed price rules in a single round-trip — existing rules update
by id, new rules build, missing rules destroy. Mirrors the
promotion editor’s “save the whole thing on Save” pattern.
Required scope: write_products (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Path Parameters
Body
all, any Prefixed product ids — reconciles list membership (adds + removes).
["prod_aBc123"]
Individual price overrides (the spreadsheet payload). Each row updates by id if shipped, otherwise upserts on the unique key (variant_id, currency, price_list_id).
- Option 1
- Option 2
Response
price list updated with nested rules

