File Format - Price

Tulip allows you to define prices per variant and currency on four levels:

  • per store
  • per zone (i.e. region, state, province, etc. depending on the country)
  • per country
  • globally

The price that is used for your variant and currency will be the first available price from the above list, in order. For example, if you have a store level price for a variant and a zone level price, the store level price “wins”.

Price File Format

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

A price 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 price instance. Additional rows of a price instance may only include fields specified under Multi-Row Headers.

Required Headers

To successfully import a price CSV file, the following columns that must be included in the header row.

Column NameDescriptionType
Price ID(Required)*Unique identifier for a price combinationstring
Product ID*ID of the product this inventory is associated with. If not provided lookup via variantId will be done.string
Variant ID(Required)*ID of the variant to which this price appliesstring
Currency ID(Required)*ID of the currency to which this price applies. See supported currencies
Integers will be resolved to internal identifiers
integer, string
Country ID (Required)*ID of the country to which this price applies.
Integers will be resolved to internal identifiers
integer, string
Store ID (Required)*ID of the store to which this price appliesstring
Zone ID (Required)*ID of the State/Province/County in which this price applies in ISO-3166-2:2020 format Examples can be found here.
Integers will be resolved to internal identifiers
integer, string

Note: You must supply values for either Country ID or Store ID or Zone ID.

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.

Price groups include:

Price Values

There are two ways that price values 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 price 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 Price Values group.

The following columns may be included:

Multi-Row Approach
Column Name
Multi-Column Approach
Column Name
DescriptionType
Price Value (Required)*Price Value NValue of this price value (decimal precision:float)number
Price Value Type ID (Required)*Price Value N Type IDregular or sale
Integers will be resolved to internal
identifiers
integer, string

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 price. 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 ID (Required)*Custom Attribute N IDIdentifier of the custom attributestring
Custom Attribute Value (Required)*Custom Attribute N ValueValue of the attributestring
Custom Attribute Language ID (Required)*Custom Attribute N Language IDLanguage of the attribute.
Integers will be resolved to internal identifiers
integer, string

Where N is some positive integer.

Supported Currency IDs

Currency NameCode
US Dollar (USD)USD
Euro (EUR)EUR
Canadian Dollar (CAD)CAD
British Pound (GBP)GBP
Swiss FrancCHF
HK Dollar (HK)HKD
Hungarian ForintHUF
Swedish KronaSEK
Danish KroneDKK
Norwegian KronerNOK
Australian DollarAUD
Japanese YenJPY
Chinese RenminbiRMB
New Taiwan DollarTWD
United Arab Emirates DirhamAED
Singapore DollarSGD
Czech KorunaCZK
Chinese Yuan RenminbiCNY
Malaysian RinggitMYR
Macanese PatacaMOP
Thai BahtTHB
South Korean WonKRW
Mexican PesoMXN
Polish ZlotyPLN
Romanian LeuRON
New Zealand DollarNZD
Bahraini DinarBHD
Panamanian BalboaPAB
Dominican PesoDOP
Aruban FlorinAWG
South African RandZAR

Price CSV Example

See the following Price CSV sample file.

Price Sample 1