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
"EU wholesale"
1
Pair with ends_at to schedule the list: activating a list whose start is in the future marks it scheduled.
"2026-06-01T00:00:00Z"
"2026-09-01T00:00:00Z"
all: every rule must match. any: one matching rule is enough.
all, any "all"
Signed: negative discounts off base prices, positive marks up.
^-?\d+(\.\d+)?$"-15.0"
The complete rule set: rules are matched by id and updated, new ones are built, and rules left out are removed.
Quantity bands on the list's percentage. The payload is the whole ladder: a band left out is removed.
Per-variant price overrides. Each row upserts, so the variants it names become part of the list. Curating whole products goes through the nested products endpoint instead.
Response
price list updated with nested rules
The values listed are the built-in ones; extensions may add more.
draft, active, inactive, scheduled all, any 
