categoryCsvImport
Import categories from CSV file.
Performs bulk category creation from a CSV file with customizable field mappings. Provides detailed import results including success count and error details for failed records.
Possible errors:
- CATEGORY_CSV_IMPORT_ERROR: Failed to process CSV file or import categories
- BULK_CREATE_CATEGORY_ERROR: Failed to create one or more categories from CSV data
- UNAUTHENTICATED: Invalid or missing authentication
- FORBIDDEN: Insufficient permissions to import categories
AUTH: Role=[product.OWNER] OR ('user is authenticated')
categoryCsvImport(
input: CategoryCsvInput!
): CsvImportResponse!
Arguments
categoryCsvImport.input
● CategoryCsvInput!
non-null input
CSV import configuration.
Contains the CSV file and optional field mappings for customizing how CSV columns map to category fields.