pricebook.saveItem
Add a price book item, or change one when item_id is given (owner or office). AI can draft a quote line from an item. The owner approves it before the quote is sent.
| Who | Agents can call this |
| REST | POST /v1/pricebook/items |
| MCP tool | pricebook_saveItem |
| Writes | yes, send an Idempotency-Key |
| Area | Quotes (unlimited) |
When to use it
Add a price book item, or change one when item_id is given (owner or office). AI can draft a quote line from an item.
What to tell the owner
Say what you did in plain words and what happens next.
Input
| Field | Type | Required |
|---|---|---|
shop_id | string (uuid) | yes |
item_id | string (uuid) | no |
kind | string (one of service, material, task) | no |
name | string | no |
description | string | no |
unit | string | no |
cost_minor | integer | no |
unit_price_minor | integer | no |
markup_percent | number | no |
taxable | boolean | no |
category | string | no |
task_code | string | no |
est_minutes | integer | no |
member_price_minor | ['integer', 'null'] | no |
warranty_note | string | no |
parts | array | no |
parts[].item_id | string (uuid) | yes |
parts[].quantity | number | yes |
Example
POST https://doingwork.work/v1/pricebook/items
content-type: application/json
Idempotency-Key: 3f1c...
{
"shop_id": "00000000-0000-4000-8000-000000000000"
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |