Items
The Items API provides CRUD access to the product/service catalog. Catalog items populate invoice and estimate line items.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys).
Identifier note: items are addressed by their numeric item_id.
An item sits under an item category (a category of type item) and carries a unit, a
rate and a default tax rate.
Scope: production tasks, bulk change-category, pinning, import and the purchasing/stock module are out of API scope. Items have no tags.
The item object
| Field | Type | Notes |
|---|---|---|
id | integer | Item id. |
description / notes | string | |
rate | numeric | Unit rate. |
default_tax | object | The default tax rate (id, name). |
unit | object | The unit of measure (id, name). |
category | object | The item category. |
estimation_notes | string | Optional estimation note. |
custom_fields | array | Enabled item custom fields with their values (id, name, value). |
List / search items
category_id, unit_id, tax_rate_id, rate_min, rate_max, search,
sort (item_description,item_rate,item_created), order, limit, page.
Get an item
Create an item
| Parameter | Type | Required | Notes |
|---|---|---|---|
item_description | string | yes | |
item_rate | numeric | yes | |
item_categoryid | integer | yes | A category of type item. |
item_default_tax | integer | yes | A taxrate_id (use the “No Tax” rate for tax-free items). |
item_unit | mixed | yes | An existing unit_id, or a new unit name (auto-created). |
item_notes | string | no | |
item_notes_estimatation | string | no | |
item_custom_field_1..10 | mixed | no | Values for enabled item custom fields. |
201).
Update an item
Delete an item
Errors
See Getting started. Item-specific:| Status | Meaning |
|---|---|
404 Not Found | The item id does not exist. |
422 Unprocessable Entity | Validation failed (missing fields, non-item category, invalid tax rate, or an invalid unit name). |