Skip to main content

AttributeCsvInput

Input for importing attributes from CSV file with configurable field mappings.

Supports bulk attribute creation and updates through CSV file processing. Includes validation for file format and field mapping configuration to ensure data integrity during import operations.

input AttributeCsvInput {
file: Upload!
mappings: [AttributeCsvMapping!]
}

Fields

AttributeCsvInput.file ● Upload! non-null scalar

CSV file containing attribute data for bulk import.

Must be a valid CSV file with proper formatting. The file should contain attribute data that matches the configured field mappings for successful processing.

The file may contain at most 10,000 data rows, excluding the header row. A larger file is rejected with CSV_ROW_LIMIT_ERROR, and a file with no data rows is rejected with CSV_EMPTY_FILE_ERROR.

AttributeCsvInput.mappings ● [AttributeCsvMapping!] list input

Configuration for mapping CSV columns to attribute fields.

Defines how CSV columns should be mapped to attribute properties. Array must contain unique mappings and each mapping must be properly validated. When not provided, default field mappings will be used.

Member Of

attributeCsvImport mutation