# List Items Returns a paginated list of all items (products/services) in the account. Endpoint: GET /api/v3/items Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" - `page` (integer) Page number (default 1). Example: 1 - `per_page` (integer) Results per page (default 10). items_per_page and page_items are accepted as aliases. Example: 10 - `term` (string) Search text. Matches items whose name (code) or description contains it. Example: "Consult" - `sort` (string) Field to sort by (default products.name). Enum: "products.name", "description", "unit_price", "rrp", "unit", "created_at" - `sort_order` (string) Sort direction (default ASC). Enum: "ASC", "DESC", "asc", "desc" ## Response 200 fields (application/json): - `items` (array) - `items.id` (integer) Example: 1 - `items.code` (string) Example: "Item name" - `items.description` (string,null) Example: "Item description" - `items.unit_price` (number) Example: 9.99 - `items.rrp` (number) Example: 12.29 - `items.unit` (string) One of: hour, day, month, unit, service, tax, other, product, article. Example: "service" - `items.tax` (object) - `items.tax.name` (string) Example: "IVA23" - `items.tax.value` (number) Example: 23 - `items.retention` (number) Example: 2 - `pagination` (object) - `pagination.total_entries` (integer) Example: 1 - `pagination.current_page` (integer) Example: 1 - `pagination.total_pages` (integer) Example: 1 - `pagination.per_page` (integer) Example: 10 ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 500 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string)