attributeCsvImport
Import attributes from CSV file for efficient bulk operations and data migration.
Processes a CSV file containing attribute definitions and creates or updates multiple attributes in a single atomic operation. Provides comprehensive import results including success counts, error details, and validation feedback.
The import process includes:
- CSV format validation and parsing
- Attribute data validation against description
- Bulk creation or update operations
- Detailed error reporting for failed records
- Transaction management for data consistency
- Progress tracking and result summarization
Perfect for data migration, bulk attribute setup, or synchronizing attribute data from external systems. The operation is designed to handle large datasets efficiently while maintaining data integrity.
Possible errors:
- ATTRIBUTE_VALIDATION_ERROR: One or more attributes failed validation against description rules
- ATTRIBUTE_DESCRIPTION_NOT_FOUND: Referenced attribute descriptions do not exist
attributeCsvImport(
input: AttributeCsvInput!
): CsvImportResponse!
Arguments
attributeCsvImport.input
● AttributeCsvInput!
non-null input
CSV import configuration including file data and processing options.
Contains the CSV file content, column mapping configuration, and import settings for bulk attribute creation or updates. Includes processing options to control the import behavior.
The input supports flexible CSV formats with configurable column mapping to accommodate different data sources and export formats.