Flat file

In the context of a Stock2Shop integration, a flat file is a source of data that is typically hosted on an FTP server.

A flat file can be used as a primary source to create products, or as a linked source to enrich products that already exist in your Stock2Shop console.

In order for Stock2Shop to facilitate integration with a flat file data source to your sales channels and fulfillment services (e.g. Shopify, Magento, WooCommerce, the B2B Trade store, Parcelninja and Takealot Marketplace), we need access to your FTP server.

In the below documentation we will be covering:

Connecting to Stock2Shop

In order for Stock2Shop to connect with a flat file data source, Stock2Shop requires the following FTP server credentials:

  • ftp_host/file_url
  • ftp_port
  • ftp_file_path
  • ftp_username
  • ftp_password
  • file_extension

Note, we only support CSV and XML file types. We also only support FTP, SFTP and URL transfer protocols.

Syncing products to Stock2Shop

Stock2Shop can sync products, product relationships (parent-child), categorisation, multiple warehouses and multiple price lists (tiers) from your flat file data source to your Stock2Shop console. This product information can then be distributed to one or multiple supported B2B and or B2C ecommerce sales channels.

To understand more about the concept of products in Stock2Shop, read here.

Syncing customers to Stock2Shop

We currently do not support the syncing of customers from flat file data sources to Stock2Shop, and there are no plans to build this functionality.

If customers are a requirement, please read up on how to import customers manually in to your client console here.

Raising orders

Stock2Shop can sync order information as individual flat files to an FTP location, using the order payload received from your sales channel(s).

To understand more about the concept of orders in Stock2Shop, read here.