Skip to main content

InventoryCsvInput

Input for importing inventory records from a CSV file.

Contains the CSV file data and optional field mappings to define how CSV columns correspond to inventory properties. Used for bulk inventory import operations with customizable field mapping.

input InventoryCsvInput {
file: Upload!
mappings: [InventoryCsvMapping!]
}

Fields

InventoryCsvInput.file ● Upload! non-null scalar

CSV file containing inventory data.

The uploaded CSV file must contain valid inventory data with proper headers. Must be in CSV format with comma-separated values.

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.

InventoryCsvInput.mappings ● [InventoryCsvMapping!] list input

Field mapping configuration for CSV import.

Optional array of mappings that define how CSV column headers correspond to inventory fields. If not provided, default mappings will be used based on standard column names.

Member Of

inventoryCsvImport mutation