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
| Name | Type | Description |
|---|---|---|
| page integer | integer | Page number. Default: 1. |
| per_page integer | integer | 1 to 100. Default: the app default. |
Request
curl https://cotlet.dev/api/v1/fakturownia/products \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fakturownia", "list_products") const result = await cotlet.call('fakturownia', 'list_products'); cotlet call fakturownia list_products Example response
{
"products": [
{
"id": 2203,
"name": "Website retainer",
"price_net": "500.00",
"tax": "23",
"unit": "month"
}
],
"page": 1
}