Ensure that all text fields in your CSV use ASCII characters. Non-ASCII characters (such as “ä”, “ñ”, or other special symbols) can cause import errors. To avoid issues, remove or replace these characters before uploading your file.
Import Customers from CSV
Endpoint: POST /api/v1/customers/import_from_csv/
Content-Type: multipart/form-data
Body form-data (single key):
Key: file
Value: {csv file from which to import}
Example CSV content:
customers.csv
Request/response examples:
Request (metadata)
Successful response (HTTP 200):
Response 200
Not found / error example (HTTP 404):
Response 404
Possible CSV headers
email
first_name
last_name
company_name
phone
reference
address
postcode
state
city
country
job_id from response can be used to query the import result.