Download the customer import CSV template
LogsGET /customers/import/template
Requires business:customers:create. The CSV header the import reads: display_name (required), customer_type (individual or business, default individual), category (residential, commercial, industrial, institutional or government, default residential), phone, email, tax_number.
Returns
curl -X GET "$BUSINESS_API/customers/import/template" \
-H "Authorization: Bearer sk_test_..."
# No matching CLI command; use cURL or direct HTTP.
const res = await fetch("$BUSINESS_API/customers/import/template", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$BUSINESS_API/customers/import/template",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$BUSINESS_API/customers/import/template", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
The CSV template