CatalogItem
List the organization's catalog items
GET /api/v1/products
Requires authentication (Bearer token) and the X-Organization-Id header.
Picker source for invoice/quote line items (#842). Active items by default (is_active=0 lists retired ones); filters: search (name/SKU/description, case-insensitive), type (product|service), category_id; per_page up to 100. unit_price is a decimal string derived from the stored cents; tax_rates is the item's default tax in the canonical per-line shape (see GET /api/v1/tax-rates).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
search |
query | string | no | |
type |
query | string | no | |
category_id |
query | integer | no | |
is_active |
query | boolean | no | |
per_page |
query | integer | no |
Responses
| Status | Description |
|---|---|
| 200 | For non-paginated data, return as before |
| 422 |
Example request
curl -X GET "https://kworia.com/api/v1/products" \
-H "Authorization: Bearer {{access_token}}" \
-H "X-Organization-Id: {{organization_id}}" \
-H "Accept: application/json"