List products

Your product and service list with price, VAT rate and unit.

GET https://cotlet.dev/api/v1/fakturownia/products

read

Returns the products and services saved in your account. Use the id as product_id in create_invoice so the VAT rate and unit come from your own list.

Parameters

Parameters: list_products
NameTypeDescription
page integer integer Page number. Default: 1.
per_page integer integer 1 to 100. Default: the app default.

Request

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

Example response

JSON

{
  "products": [
    {
      "id": 2203,
      "name": "Website retainer",
      "price_net": "500.00",
      "tax": "23",
      "unit": "month"
    }
  ],
  "page": 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.