NOTE: An issue has been found with this function. This product will explain how this feature works, however at the time of writing (11/10/23) it will not function correctly. This will be fixed soon.
Columns in the CSV and attributes on the product do not have to be identically named.
As part of the pricing script configuration, we can specify whether there are columns which require mapping to different names. In our example, CSV header "C" will be mapped to attribute "A", and "D" will be matched to attribute "B".
{
"filePath": "Renamed attributes.csv",
"quantityColumnName": "Quantity",
"attributesMappings": [
{
"csvKey": "C",
"attributeName": "A"
},
{
"csvKey": "D",
"attributeName": "B"
}
]
}