Skip to main content

Overview

With fabric Product Catalog, you can import data from external sources by using a CSV file.

Prerequisites

Ensure that you have configured attributes and categories to import data through CSV.

Creating Template

Generate a CSV file to import items, bundles, categories, or product attributes. Category Node: This represents the category to which the item belongs and is mandatory to add an item. SKU: The Stock Keeping Unit (SKU) must be specified for all items that needs to be imported. Parent SKU: This is can be optionally included for item variants. Leave this field blank if the item does not have a parent.

Upload file requirements

  • Product Catalog only accepts CSV files. Currently, no other data or file formats are supported.
  • Mandatory fields:
    • Category Node: Delimiter for the category nodes is “->”
    • SKU
  • Headers of the CSV file (first row) represent the attributes of the item. Attribute titles are not case sensitive, but it is recommended to maintain case-consistency with the original attribute titles.
  • Formulas in formula-driven attributes are run automatically after items have been imported.
  • Empty rows and columns are ignored.
  • Attribute data format must conform to attribute type requirements:
    • Text: Text string
    • Number: Only numbers are imported; other data is ignored.
    • Boolean: TRUE or FALSE only; other values are ignored.
    • Date: Use the same format used for attribute creation.
    • List of values: The value must be an exact match to one of the list values.
    • Serial: Leave this blank.
  • The Status attribute will be imported as Live only when all the mandatory attributes are specified for the item. Otherwise, it automatically changes to Draft status, regardless of the value in the file.

Uploading the CSV file

  1. Generate an Amazon S3 bucket URL for items, bundles, categories, or product attributes.
  2. Download the template for items, bundles, categories, or product attributes.
  3. Upload the URL.
  4. Open the URL from the response of the above endpoint, change the method to PUT, update binary in the requestBody type to view the select file option and upload a CSV from local system.
  5. You may check the status of your import here.

Import Error Messages in error file