File Format - Store / Store Patch

Store File Format

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

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

Store Patch File Format

The Store Patch file allows users to PATCH partial data for a given store. This means that the integrator does not need to populate every field in the .csv to update a single field. If an integrator wants to remove / set a field as NULL or empty string in Tulip, they can simply provide the string ‘SET_AS_NULL" in the appropriate field and that field will be emptied.

The store patch file format is the same as the Store File format and all rules should be followed when providing a Store Patch file.

Required Headers

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

Column NameDescriptionType
Store ID (Required)Identification string for a store. This store identifier is referenced by other entities such as Employees, Orders, Tasks, etc.
Must be unique for every store
string
Country ID (Required)Country of this store. Format: ISO Code 3166
Integers will be resolved to internal identifiers
Store Name (Required)Name of the storestring
Zone ID (Required)ID of the zone the state/province/county resides in. Format: ISO 3166-2.
Examples can be found here. Integers will be resolved to internal identifiers
integer, string
Address (Recommended)Address of the storestring
City (Recommended)City the store is instring
integer, string
Disabled (Required)Whether or not the store is disabledboolean
Email (Recommended)Store’s emailstring
Latitude (Recommended)Latitude of the storenumber
Longitude (Recommended)Longitude of the storenumber
Phone Number (Recommended)Store phone numberstring
Postcode (Recommended)Store’s postal codestring
Runner SupportedWhether or not the store supports Runnerboolean
Monday OpenTime the store opens on Mondaystring
Monday CloseTime the store closes on Mondaystring
Tuesday OpenTime the store opens on Tuesdaystring
Tuesday CloseTime the store closes on Tuesdaystring
Wednesday OpenTime the store opens on Wednesdaystring
Wednesday CloseTime the store closes on Wednesdaystring
Thursday OpenTime the store opens on Thursdaystring
Thursday CloseTime the store closes on Thursdaystring
Friday OpenTime the store opens on Fridaystring
Friday CloseTime the store closes on Fridaystring
Saturday OpenTime the store opens on Saturdaystring
Saturday CloseTime the store closes on Saturdaystring
Sunday OpenTime the store opens on Sundaystring
Sunday CloseTime the store closes on Sundaystring
Tax DivisionThe tax divisionstring
Tax Provider IdId of the tax providerstring
Remote Pay Adyen Merchant AccountMerchant account namestring
Online Store IdThe int ID or the string external ID of the online store associated with this storeinteger or string
LiveConnect SupportedBoolean dictating if store has LiveConnect enabledboolean
Fulfull From Multiple Stores EnabledWhether or not orders placed in this store can be fulfilled from multiple storesboolean
Conditional Order Flow EnabledWhether or not conditional order flow is enabled for the storeboolean
Twilio Calling EnabledWhether or not Twilio calling is enabled for the storeboolean
Clienteling Login EnabledWhether or not the store can be used as the home store in the Clienteling appboolean
Checkout Login EnabledWhether or not the store can be used as the home store in the Checkout appboolean
Mobile PhoneMobile phone number of the storestring
Receipt Language IDLanguage code to use for receipts from this storestring
TimezoneTime zone this store is instring
Business Entity NameBusiness entity name of the storestring
Store Type External IDExternal ID of the store typestring
Store Type NameName of the store typestring
District Resource External IDExternal ID of the store districtstring
District Resource NameName of the store districtstring
District ResourceResource type of the store organization resource (District)string
Region Resource External IDExternal ID of the store district’s assigned regionstring
Region Resource NameName of the store district’s assigned regionstring
Region ResourceResource type of the store organization resource (Region)string
Division Resource External IDExternal ID of the store district’s assigned divisionstring
Division Resource NameName of the store district’s assigned divisionstring
Division ResourceResource type of the store organization resource (Division)string
Store Ecommerce DomainE-Commerce Domain URL of the storestring
Pending Customer Flow EnabledWhether or not pending customer flow is enabled for the storestring

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.

Store groups include:

  • Custom Attributes

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 store 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
Customer 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.

Privacy Regions

There are two ways that privacy regions 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 store 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
Privacy RegionsPrivacy Regions NPrivacy region associated to the storestring, integer

Where N is some positive integer.

Store CSV Example

See the following Store CSV sample file.

Store Sample 1