pricebook_saveItem
Add a price book item, or change one when item_id is given (owner or office). Items are a pick list for quote lines that workers write; they are never filled into a quote automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | task: a flat rate task that bundles labor and parts at one price | |
| name | No | ||
| unit | No | each, hour, foot, and so on | |
| parts | No | Tasks only: the price book materials the task uses, for costing. Never shown as a price and never taken from stock on its own. | |
| item_id | No | ||
| shop_id | Yes | ||
| taxable | No | ||
| category | No | Category name; made if new | |
| task_code | No | Tasks only: the shop's code, like AC-CAP. Unique in the shop. Empty string clears it. | |
| cost_minor | No | What it costs the shop, in cents. Never shown to customers. | |
| description | No | ||
| est_minutes | No | Tasks only: estimated labor minutes, for costing | |
| warranty_note | No | Shown to the customer with the task, like 1 year parts and labor. Empty string clears it. | |
| markup_percent | No | Instead of unit_price_minor: price = cost times (1 + markup/100), rounded to the cent | |
| unit_price_minor | No | Price to the customer, in cents | |
| member_price_minor | No | Tasks only: price for customers on an active maintenance plan, in cents. Not above the price. null clears it. |