List products

Products and services with ID, code, description, price and VAT code.

GET https://cotlet.dev/api/v1/e-boekhouden/products

read

Returns the product list so invoice lines can point to a product_id instead of retyping description and price. When a product ID is given on a line, the line code is ignored by e-Boekhouden.

Parameters

Parameters: list_products
NameTypeDescription
limit integer integer Number of items to return.
offset integer integer Number of items to skip, for the next page.

Request

cURL
curl https://cotlet.dev/api/v1/e-boekhouden/products \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("e-boekhouden", "list_products")
Node.js
const result = await cotlet.call('e-boekhouden', 'list_products');
CLI
cotlet call e-boekhouden list_products

Example response

JSON

{
  "products": [
    {
      "product_id": 17,
      "code": "CONS-H",
      "description": "Consulting hour",
      "price_per_unit": 85,
      "vat_code": "HOOG_VERK_21",
      "ledger_id": 8000
    }
  ],
  "total": 1
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.