List customers
Lists customers (Relaties, Klanten) with name, VAT number and email address.
GET https://cotlet.dev/api/v1/snelstart/customers
read
Returns customers from Relaties, Klanten in the order SnelStart shows them, with the VAT number and the email address on the card. The email address matters because SnelStart Web mails invoices only to a filled-in address.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the customer name. |
| limit integer | integer | Records per page. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/snelstart/customers \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("snelstart", "list_customers") const result = await cotlet.call('snelstart', 'list_customers'); cotlet call snelstart list_customers Example response
{
"customers": [
{
"customer_id": "cus_8f21",
"name": "Northwind Studio",
"vat_number": "NL123456789B01",
"email": "billing@northwind.example"
}
],
"next_cursor": null
}