Management API
Customer

Import Customers from CSV

4min

Imports customers from CSV, if requesting manager has access permissions to it.

URL: /api/v1/customers/import_from_csv/

Method: POST

Content-Type:

Required Content-Type is multipart/form-data with the following single key-value pair:

  • Key: file
  • Value: {csv file from which to import}

Possible CSV Headers:

  • email
  • first_name
  • last_name
  • company_name
  • phone
  • reference
  • address
  • postcode
  • state
  • city
  • country

Data Example:

Text


Success Response:

Code: 200 OK

Content Examples:

JSON


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