Set list price
core_set_priceChange an item's list price. Takes effect for documents raised from now on. Everything already raised keeps the price it was raised with — a quote accepted after this change still becomes an order at the quoted price (INV-19), and issued invoices never move. That is why this is a logged act and not a field edit: the moment the price changed is part of the record. Effects: item.unit_price changed for future documents only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | The item. An existing item id. | |
| unit_price | Yes | The new list price per unit. In cents (integer minor units) — 1250 means $12.50. |