File details- customer.csv

Edit on GitHub

This article contains content of the customer.csv file to configure Customer information on your Spryker Demo Shop.

Headers & Mandatory Fields

These are the header fields to be included in the .csv file:

Field Name Mandatory Type Other Requirements/Comments Description
customer_reference Yes (unique) String Must end with a number. Reference of the Customer.
locale_name No String N/A* Locale name.
phone No String N/A Customer’s phone number.
email Yes (unique) String N/A Customer’s e-mail
salutation Yes String Values must be:
  • Mr
  • Mrs
  • Dr, or
  • Ms
Used salutation.
The value must be within the list of values predefined in the spyCustomerTableMap.php file.
first_name Yes String N/A Customer’s first name.
last_name Yes String N/A Customer’s last name.
company No String N/A Customer’s Company
gender Yes String Values must be:
  • Male, or
  • Female
Customer’s gender.
The value must be within the list of values predefined in the spyCustomerTableMap.phpfile.
date_of_birth No Date N/A Customer’s date of birth.
password No String N/A Customer’s password.
registered No Date N/A Customer’s date of registration.
*N/A: Not applicable.

Dependencies

This file has no dependencies.

Template File & Content Example

A template and an example of the customer.csv file can be downloaded here:

File Description
customer.csv template Customer .csv template file (empty content, contains headers only).
customer.csv Customer .csv file containing a Demo Shop data sample.