1.0.1 • Published 4 years ago
sfcc-catalog-inventory v1.0.1
SFCC Catalog Inventory
Create Salesforce Commerce Cloud Inventory XML from Catalog XML
Installation
You can install this package via NPM:
npm install -g sfcc-catalog-inventory
Usage
The most common usage will look like this:
sfcc-catalog-inventory -i /path/to/catalog.xml
FLAGS:
Name | Param | Alias | Required | Definition |
---|---|---|---|---|
Input | -i | --input | Yes | Path to SFCC Catalog XML File |
Output | -o | --output | No | Path to save XML file ( Defaults to Current Directory ) |
Name | -n | --name | No | Name of Inventory List ( Defaults to Catalog Name ) |
EXAMPLES:
sfcc-catalog-inventory -i /path/to/catalog.xml
sfcc-catalog-inventory -i /path/to/catalog.xml -n custom-name
sfcc-catalog-inventory --input /path/to/catalog.xml --name custom-name
sfcc-catalog-inventory -i /path/to/catalog.xml -o /path/to/inventory.xml
sfcc-catalog-inventory --input /path/to/catalog.xml --output /path/to/inventory.xml
sfcc-catalog-inventory -i /path/to/catalog.xml -n custom-name -o /path/to/inventory.xml
sfcc-catalog-inventory --input /path/to/catalog.xml --name custom-name --output /path/to/inventory.xml
Troubleshooting
Need help on how to run this tool? Just run the command without options to see example usage & instruction.
sfcc-catalog-inventory