File details - warehouse.csv

Edit on GitHub

This document describes the warehouse.csv file to configure the Warehouse information in your Spryker Demo Shop.

To import the file, run

data:import:stock

Import file parameters

The file should have the following parameters:

| PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION | | --- | --- | --- | --- | --- | --- | | name | Yes | String | | Name of the warehouse. | | is_active | No | Boolean |
  • True = 1
  • False = 0
  • If empty, it will be assumed 0 (false)
| Status of the warehouse, specified in a boolean value: 1 (true) or 0 (false), where 1 indicates that the warehouse is available and 0 indicates that the warehouse is unavailable. By default, the warehouse is not active.|

Import file dependencies

This file has no dependencies.

Additional information

Check the HowTo - Import Warehouse Data.

Note

The warehouse.csv file replaces the stock.csv previously used.

By default, warehouse.csv exists only in folder …/vendor/spryker/stock-data-import/data/import/warehouse.csv, but can be also be copied into …/data/import folder.

Import template file and content example

Find the template and an example of the file below:

FILE DESCRIPTION
warehouse.csv template Import file template with headers only.
warehouse.csv Exemplary import file with Demo Shop data.