List products and services
Products and services you can put on a line, with name, price and tax.
GET https://cotlet.dev/api/v1/holded/products
read
Lists products and services from your Holded account with the price and tax each one uses on a line. Search by name to reuse an item instead of typing a free-text line.
Parameters
| Name | Type | Description |
|---|---|---|
| search string | string | Part of a product or service name. |
| limit integer | integer | 1 to 100. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/holded/products \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("holded", "list_products") const result = await cotlet.call('holded', 'list_products'); cotlet call holded list_products Example response
{
"products": [
{
"product_id": "p_21c4",
"name": "Consulting",
"kind": "service",
"price": 80,
"tax": "VAT 21%"
}
],
"next_cursor": null
}