Create a customer

Adds a customer under Relaties, Klanten.

POST https://cotlet.dev/api/v1/snelstart/customers

write

Creates the customer card and returns its ID. SnelStart refuses names shorter than four characters, and Web cannot import customers or store price agreements. It sends nothing and reaches no one, so it does not ask for confirmation.

Parameters

Parameters: create_customer
NameTypeDescription
name string required string Customer name, at least 4 characters.
email string string Email address for invoices.
vat_number string string VAT number, entered under company details.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/snelstart/customers \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe"}'
Python
result = client.call("snelstart", "create_customer", {"name":"Jane Doe"})
Node.js
const result = await cotlet.call('snelstart', 'create_customer', {"name":"Jane Doe"});
CLI
cotlet call snelstart create_customer --data '{"name":"Jane Doe"}'

Example response

JSON

{
  "customer_id": "cus_9a03",
  "name": "Bakker Logistics",
  "email": "ap@bakker.example",
  "vat_number": "NL987654321B01"
}

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.