Quotation Items
Manage lines (items) inside a quotation. Use action=“create” to add an item. Use action=“update” to change quantity/price. Use action=“delete” to remove an item. These actions automatically recalculate the quotation totals.
Input Schema
| Parameter | Type | Description |
|---|---|---|
| action | string | Action to perform: create, list, update, delete |
| id | string | Item UUID (required for update, delete) |
| quotation_id | string | Quotation UUID (required for create, list) |
| catalog_item_id | string | Catalog Item UUID |
| name | string | Name of the item (required for create) |
| quantity | number | Quantity (defaults to 1) |
| unit_price | number | Unit price |
| metadata | string | JSON string of metadata |
| limit | number | Limit results for list |
| offset | number | Offset results for list |
Example
{
"action": "create",
"quotation_id": "YOUR_QUOTATION_ID",
"catalog_item_id": "YOUR_CATALOG_ITEM_ID",
"name": "Consulting Hours",
"quantity": 10,
"unit_price": 150
}Last updated on