Magento 2.x

Magento is a hilghly flexible ecommerce platform that allows you to accommodate B2B and B2C customers in one place.

Magento 2.x is client-owned. This means that you (or your developers) will handle the hosting, deployment and management of Magento yourselves. In order for Stock2Shop to facilitate integration with Magento 2.x to supported ERP / accounting systems and/or third party logistic (3PL) services, we require access to the API and that you install the webhook module discussed below.

In the below documentation we will be covering:

Connecting to Stock2Shop

In order for Stock2Shop to connect with a Magento 2.x, Stock2Shop requires the following:

  • Ensure the Magento 2.x REST API is enabled
  • REST URL endpoint
  • Authentication method - select one of the following options:
    • Admin Username & Password – Use your Magento admin credentials to request a Bearer Token. This token is then used for all API calls.
    • Integration (Consumer Keys & Secrets) – Create an integration directly in Magento Admin. This will generate a Consumer Key, Consumer Secret, as well as Access Token and Access Token Secret for authentication.
  • Stock2Shop Magento 2.x Webhook Module installed and configured with your webhook URL (for order syncing)

If you are uncertain of how to setup the Magento 2.x REST API (bearer token), please read here.


Syncing products

Stock2Shop can sync SKU, barcode, title, description, images, weight, stock level, dimensions, product relationships (simple and configurable), categorisation, multiple price lists and any additional product attribute information from your Stock2Shop console to Magento 2.x.

To understand more about the concept of products in Stock2Shop, read here.

Raising orders

In order for Stock2Shop to receive orders from your website, the Stock2Shop Magento 2.x Webhook Module must be installed and configured. A Stock2Shop technician will take you through the steps of adding the URL to the webhook that has been created in Magento 2.x. Once the webhook has been setup and configured, Stock2Shop will start to receive orders from Magento 2.x as they are being placed.

To understand more about the concept of orders and the order process in Stock2Shop, read here.

Raising fulfillments

Orders that have been synced from Magento 2.x to your source (ERP / accounting system) successfully can trigger a fulfillment request to your 3PL service. When an order is delivered, notifications from your 3PL service can then be used to automatically update the status of the order in Magento 2.x.

To understand more about the concept of fulfillments and the fulfillments process in Stock2Shop, read here.