A tool to import a Reflektion feed into OrderCloud
npm install rfk-oc-feed-importernpm install --global rfk-oc-feed-importer
shell
Usage: cli [options]
A tool to import a Reflektion feed into OrderCloud
Options:
-v, --version output the version number
-u, --username username for portal credentials https://ordercloud.io/
-p, --password password for portal credentials https://ordercloud.io/
-m --marketplaceID ID for the OrderCloud marketplace where products should be loaded into
-t, --template an existing template feed (choices: "riggsandporter", default: "riggsandporter")
-f, --productFilePath filepath to a reflektion product feed, should adhere to reflektion standard
-c, --categoryFilePath filepath to a reflektion category feed, should adhere to reflektion standard
-b, --buyerID (Optional) ID of an EXISTING buyer
-x, --catalogID (Optional) ID of an EXISTING catalog
-e, --environment (choices: "sandbox", "staging", "production", default: "sandbox")
-h, --help display help for command
`
#### Examples
The shortest possible syntax
`shell
importfeed -u myusername -p mypassword -m mymarketplaceid
`
This will import products and categories from the riggsandporter template into your ordercloud marketplace
Using an existing catalog and buyer
`shell
importfeed -u myusername -p mypassword -m mymarketplaceid -b mybuyerid -x mycatalogid
`
This will load products and categories into the provided catalog and make those products & categories visible to the provided buyer
Using your own reflektion feed files
`shell
importfeed -u myusername -p mypassword -m mymarketplaceid -f path/to/my/product-feed.csv -c path/to/mycategory-feed.csv
``