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.
| 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). Items are a pick list for quote lines that workers write; they are never filled into a quote automatically.
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) | 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 |
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. |