File Format - Product

Product File Format

The first line of a Product CSV file must be the header row.

A product instance is a group of rows in the CSV file that are sequential and include the same required fields. Data relating to fields specified under Base Headers and Multi-Column Headers must be specified in the first row of a product instance. Additional rows of a product instance may only include fields specified under Multi-Row Headers.

Required Headers

To successfully import a product CSV file, the following columns must be included in the header row:

Column NameDescriptionType
Product ID(Required)Identification string for a product.
Must be unique for each product, otherwise overwritten.
string
UPCUPC of the productstring
Category (Required)Category which the product belongs tostring
Status (Required)Status of this product. 0 = disabled, 1 = active, 2 = sold outinteger
Tax IDID of the tax associated with this productinteger
GroupsMay Be RequiredSee below

Groups

A group is a class of headers that relate to one another, and may allow for multiple pieces of information to be presented. For example, a customer can have multiple emails, addresses, phone numbers, and more.

Product groups include:

Note: The following file extensions are supported .jpg, .JPG, .jpeg, .JPEG, .png, .PNG, .gif, .GIF for product images.

There are two ways that images can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one column header is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, one column header may be used many times alongside one row (the first row) of a product instance. To use this column multiple times, an identifying number must exist for N and be unique for each new column.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Images group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
ImageImage *N*URL to an image of the productstring

Where N is some positive integer.

Videos (Optional)

There are two ways that videos can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one column header is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, one column header may be used many times alongside one row (the first row) of a product instance. To use this column multiple times, an identifying number must exist for N and be unique for each new column.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Videos group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
VideoVideo NURL to a video of the productstring

Where N is some positive integer.

Localized Data (Optional)

There are two ways that localized data can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one set of column headers is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, multiple sets of column headers may be used alongside one row (the first row) of a product instance. To use these columns multiple times, an identifying number must exist for N and be unique for every new set of columns.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Localized Data group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
Localized DescriptionLocalized Description NDescription of the product localized to the specified language. This can include HTML and CSS.string
Localized Language ID (Required)Localized Language ID NID of the language in which the record appears. Supported Languages and their IDs can be found here.
Integers will be resolved to internal identifiers
integer, string
Localized Name(Required)Localized Name NName of the product localized to the specified languagestring
Localized SubtitleLocalized Subtitle NSubtitle of the product localized to the specified languagestring
Localized URL(Required)Localized URL NURL of the product localized to the specified languagestring

Where N is some positive integer.

Option Value Overrides (Optional)

There are two ways that option value overrides can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one set of column headers is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, multiple sets of column headers may be used alongside one row (the first row) of a product instance. To use these columns multiple times, an identifying number must exist for N and be unique for every new set of columns.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Option Value Overrides group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
SortOrderOverrides OptionValueIDSortOrderOverrides N OptionValueIDID of the Option Value.
Integers will be resolved to internal identifiers
integer, string
SortOrderOverrides Sort OrderSortOrderOverrides N Sort OrderSort order for the Option Valueinteger

Where N is some positive integer

There are two ways that related products can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one set of column headers is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, multiple sets of column headers may be used alongside one row (the first row) of a product instance. To use these columns multiple times, an identifying number must exist for N and be unique for every new set of columns.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Related Products group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
Related Product IDRelated Product N IDID of the related productstring
Related Product Sort OrderRelated Product N Sort OrderSort order for the related product within its set of related productsinteger

Where N is some positive integer.

Custom Attributes

There are two ways that custom attributes can be formatted in your CSV file: A Multi-Row Approach or Multi-Column Approach.

Multi-Row Approach

In this approach, one set of column headers is used alongside multiple rows of data. To allow for multiple rows of data, additional rows must include the same Required Headers fields.

Multi-Column Approach

In this approach, multiple sets of column headers may be used alongside one row (the first row) of a product instance. To use these columns multiple times, an identifying number must exist for N and be unique for every new set of columns.

Columns from the Multi-Row Approach cannot be mixed with columns from the Multi-Column Approach in a CSV file for the Custom Attributes group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
Custom Attribute IDCustom Attribute N IDIdentifier of the custom attributestring
Custom Attribute ValueCustom Attribute N ValueValue of the attributestring
Custom Attribute Language IDCustom Attribute N Language IDLanguage of the attribute.
Integers will be resolved to internal identifiers
integer, string

Where N is some positive integer

Product CSV Example

See the following Product CSV sample file.

Product Sample 1