Skip to main content

companyCsvImport

Import companies from CSV file with bulk processing and validation capabilities.

Key Features:

  • Bulk import of multiple companies with comprehensive validation
  • Support for various CSV formats and data structures
  • Detailed error reporting and success tracking
  • Integration with existing company data and relationships

Business Rules:

  • CSV format must match expected structure and field requirements
  • Duplicate detection prevents creation of existing companies
  • Validation rules apply to all imported records
  • Import process can be resumed after errors are corrected

Error Scenarios:

  • CSV_FORMAT_ERROR: When CSV file format is invalid or malformed
  • VALIDATION_ERROR: When imported data fails validation rules
  • IMPORT_ERROR: When system fails to process import operation
  • DUPLICATE_ERROR: When imported companies already exist in system

Use Cases:

  • Bulk company onboarding
  • Data migration and integration
  • System setup and initialization
  • Regular data imports from external sources

AUTH: Role=[user.OWNER]

companyCsvImport(
input: CompanyCsvInput!
): CsvImportResponse!

Arguments

companyCsvImport.input ● CompanyCsvInput! non-null input

CSV import data including file content and mapping configuration

Type

CsvImportResponse object