# Items

Products and services.

## GET /v1/items

**Products and services**

Answers:

- `200` { items: [...] }

## POST /v1/items

**Create or update products**

A list. Matched by external_ref (your id) when sent, else by code. Keys: code, name, description, unit, sells, sales_price, sales_account_code, sales_tax_code, buys, purchase_price, purchase_account_code, purchase_tax_code, is_active, external_ref. A key not sent leaves the field alone. An invoice line names a product with item_code.

Body (a JSON array of these):


```json
[
  {}
]
```

Answers:

- `200` { items: [{ id, code }] }
- `422` Refused, with the reason
