Skip to main content

Store Configuration Loader Component

The Commerce Store Configuration Loader enables you to export and/or import resources from one Commerce store to another. This is useful if, for example, you want to copy a configuration from a store in a development environment to a store in a production environment.

Connections

Collect the following Commerce API keys. You can find this information in SYSTEM > Application Keys in Commerce Manager when logged in as a user with Seller Admin privileges.

Commerce API KeyDescription
API Base URLYour Commerce API Base URL.
Client IDYour Commerce Client ID.
Client SecretYour Commerce Client Secret.

Actions

The component has the following actions.

Delete Store Configuration

InputTypeDescription
ConnectionconnectionCommerce connection.
Log LevelstringThe level of logging.
Max PagesstringThe page size to query when deleting large volumes of products. Maximum value is 100.
Batch Sizestringthe maximum number of batches to delete at one time. Leave blank to delete all batches. For example, if you set the Delete Batch Limit to 5, the first 5 batches of products are deleted.
Configuration PolicycodeDelete exsiting resources. The Delete Asynchronous Flow provides a webhook trigger that invokes the Store Configuration Orchestrator's Delete Action. The asynchronous response is a single data element containing the remaining products. See Commerce Store Configuration Orchestrator.

Export Store Configuration

InputTypeDescription
ConnectionconnectionCommerce connection.
Log LevelstringThe level of logging.
Configuration PolicycodeExport a store configuration to a JSON file. The Export Synchronous Flow provides a webhook trigger that invokes the Store Configuration Orchestrator's Export Action and returns the exported store configuration in a JSON file. See Commerce Store Configuration Orchestrator.

Import Store Configuration

InputTypeDescription
ConnectionconnectionCommerce connection.
JSON Configuration ObjectstringThe JSON configuration object.
EnvironmentstringDuring an import, you can specify resources by environment. This allows you to have resources for your production and development environments in the same JSON file. When you perform a Store Configuration Orchestrator Import Action, you can specify the environment whose resources you want to import. A Store Configuration Orchestrator Import Action always imports resources from the common environment. If no environment is specified, only resources from the common environment are loaded. See Configuring the Store Configuration Orchestrator Integration.
Log LevelstringThe level of logging.
Configuration PolicycodeImport a store configuration from one store to another. The Import Asynchronous Flow provides a webhook trigger that accepts a JSON payload containing the store configuration. The Store Configuration Orchestrator Import Action executes and passes the JSON request to apply the imported configurations to a store. See Commerce Store Configuration Orchestrator.