Skip to main content

AttributeCsvMapping

Mapping configuration for CSV import operations linking CSV columns to attribute fields.

Defines how CSV file columns should be mapped to attribute properties during import operations. Each mapping connects a CSV header name to a specific attribute field, enabling flexible CSV formats and data transformation during import.

Essential for CSV import operations to ensure proper data mapping and validation during bulk attribute processing.

input AttributeCsvMapping {
csvHeader: String!
fieldName: AttributeFieldName!
}

Fields

AttributeCsvMapping.csvHeader ● String! non-null scalar

Name of the column header in the CSV file.

Must match exactly with the column header in the uploaded CSV file. Case-sensitive string that identifies which CSV column contains the data for the mapped attribute field.

AttributeCsvMapping.fieldName ● AttributeFieldName! non-null enum

Target attribute field that the CSV column should map to.

Specifies which attribute property should receive the data from the corresponding CSV column. Must be a valid AttributeFieldName enum value that defines the available attribute fields for mapping.

Member Of

AttributeCsvInput input