CategoryCsvInput
Input for bulk category import from CSV files.
Enables bulk creation of categories through CSV file upload with customizable field mappings. Supports validation, error reporting, and flexible column mapping for different CSV formats.
input CategoryCsvInput {
file: Upload!
mappings: [CategoryCsvMapping!]
}
Fields
CategoryCsvInput.file ● Upload! non-null scalar
CSV file containing category data.
The CSV file must contain valid category information with proper headers. File must be in CSV format with UTF-8 encoding.
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.
CategoryCsvInput.mappings ● [CategoryCsvMapping!] list input
Column mapping configuration for CSV import.
Defines how CSV columns map to category fields in the system. Each mapping specifies the CSV header name and corresponding system field. Mappings must be unique and follow the defined field constraints.
Member Of
categoryCsvImport mutation