moltin / import-catalogue-data

Example script used to programatically create a Moltin store catalogue.
0 stars 2 forks source link

Usage

To create your catalog in Moltin you'll need node.js

NEW_SITE_CLIENT_ID=
NEW_SITE_SECRET=
npm install
node app.js "/Users/<yourself>/Downloads/apparel.csv"

If you are re-running the script, you can selectively skip certain steps or require that a script first cleans up your store:

node app.js "path" --skip=<step> --skip=<another step>

You can clean: products, categories, brands, and files (images). To request that multiple entities be cleaned please use --clean=<entity> for each entity.

node app.js "path" --clean=products