Import Customers from CSV

circle-exclamation

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

circle-info

job_id from response can be used to query the import result.

Was this helpful?