Skip to main content

companyCsvImport

Import companies from a CSV file.

Processes a CSV file containing company data and creates multiple companies in batch. Provides detailed feedback on successful imports and any errors encountered during processing.

Possible errors:

  • COMPANY_CSV_IMPORT_ERROR: Failed to process the CSV file
  • COMPANY_ALREADY_EXISTS_ERROR: One or more companies already exist
  • EMAIL_ALREADY_IN_USE_ERROR: Email addresses are already in use

AUTH: Role=[user.OWNER]

companyCsvImport(
input: CompanyCsvInput!
): CsvImportResponse!

Arguments

companyCsvImport.input ● CompanyCsvInput! non-null input

CSV file and mapping configuration for company import.

Contains the CSV file data and field mappings to define how CSV columns correspond to company properties.

Type

CsvImportResponse object