Core Resources
Price Lists
Special prices by type of customer (resellers, wholesale...).
Overview
A price list sets the price of each item for the customers that use it: a special price per item, or the base price plus adjustment_percent for the rest. A list applies only to items of its currency. Customers without a list use the General list (the price of each item).
Endpoints
| Method | Path | Permission | Description |
|---|---|---|---|
GET | /v1/price-lists | read | List price lists |
POST | /v1/price-lists | admin | Create a list (name, currency, adjustment_percent) |
GET | /v1/price-lists/{id} | read | Retrieve a list with its special prices |
POST | /v1/price-lists/{id} | admin | Update a list |
DELETE | /v1/price-lists/{id} | admin | Delete a list (its customers go back to General) |
POST | /v1/price-lists/{id}/prices | admin | One { item_id, price } or many { prices: [{ code, price }] } |
GET | /v1/customers/{id}/prices | read | Resolved price of items for a customer (item_ids) |
Set Prices
price: nullremoves the special price; the item then follows the list rule- The bulk form returns
saved,removed,not_foundandinvalid(codes) sourceof a resolved price:special,ruleorbase