1. General information
2. Installation
The connector is available on packagist : https://packagist.org/packages/onestock/onestock-magento-connector
Installation is done with composer.
composer require onestock/onestock-magento-connector
3. Configuration
The configuration page is available on the Magento admin backoffice on Stores > Configuration
then ONESTOCK > Configuration
3.1. General
Site ID : your OneStock site ID, as provided by your OneStock contact
Sales Channel : The sales channel that will be used to create your orders in OneStock. The list of available sales channel is available in your OMC configuration page
Configuration > Sales Channels
Orchestration mapping : map all shipping methods that you will use in Magento to a ruleset chaining id in OneStock. This allows a different orchestration in OneStock depending on the shipping method selected by your clients.
3.2. API
Host API : should be either
production : https://api.onestock-retail.com
qualification : https://api-qualif.onestock-retail.com
training : https://api-training.onestock-retail.com
other : if your OneStock instance is hosted elsewhere, your project manager will inform you of the value to be used.
API User ID / API Password : your api user credentials that have been created for the project
Retry count per order : number of retries if a call to OneStock API fails (use default)
Timeout : timeout for the calls to OneStock API (use default)
API token lifetime : duration of the token lifetime (use default).
Debug mode : if true, the connector will add logs in your var/logs folder.
Order export mode : decide if you should wait for an invoice created in magento before creating an order in OneStock or if the order should be created immediately when the order is placed. If created when placed, the connector doesn’t create the order