Nov 18 2019
 ShopOMSMagento 2

Magento 2 Integration with InfiPlex Inventory & Order Management System

Last Updated: Mar 26, 2024

This document outlines the set-up for integrating the InfiPlex Inventory & Order Management System (OMS) with your Magento 2 webstore.

InfiPlex Magento 2 Integration Set-up

To connect, you must be using version 2 of the Magento eCommerce platform. Please visit Magento.com for more information on the Magento webstore platform.

The Magento 2 integrations requires you to set-up an Integration token in your Magento 2 administrative area. Please follow these instructions to generate an access token for your connection:

  1. Log in to Admin and click System > Extensions > Integrations to display the Integrations page.
  2. Click Add New Integration to display the New Integration page.
  3. Enter a unique name for the integration in the Name field. Then enter your admin password in the Your Password field. Leave all other fields blank.
  4. Click the API tab. Select the Magento resources the integration can access. You can select all resources, or select a custom list.
  5. Click Save to save your changes and return to the Integrations page.
  6. Click the Activate link in the grid that corresponds to the newly-created integration.
  7. Click Allow. A dialog similar to the following displays:




InfiPlex Magento 2 Settings:
Your Magento 2 connection can be set-up to Pull orders from Magento into InfiPlex, making InfiPlex the System of Record (SOR). Or you can have InfiPlex Push orders from your marketplaces into your Magento 2 store, making Magento the System of Record (SOR). The 2 key pieces of information need to make connection are your Auth Token and the Rest URL of your webstore. The Push settings are listed below. See the settings page for the Pull settings.

  • magento2_rest_url:
    This is the full URL of your Magento rest API. Example: https://example.com/rest/all
  • magento2_rest_auth_token:
    This is the rest auth_token used to connect to your Magento connection. See Above.
  • magento2_push_orders_enabled:
    Set to YES to push all orders info your Magento 2 webstore
  • magento2_push_orders_create_invoice:
    If this is set to yes, when an order is created in Magento, an invoice will also be created for that order in Magento.
  • magento2_get_inventory_from_push_connection:
    This controls if inventory levels are retrieved from your Magento push connection.
  • magento2_get_tracking_from_push_connection:
    This controls if tracking numbers are retrieved from your Magento push connection.
  • magento2_push_orders_order_source_storeid_map:
    This is used to map the store id sent to Magento for each order pushed. Separate each map with two semi-colons (;). Separate the values in each map with two colons (:). The first value in the map is the order source and the second value is the store id in Magento. Example: Walmart::2;;Amazon.com::3

 

Magento Inventory Settings for Push Connection

If you will be using our Magento 2 Push connection, InfiPlex will be checking your Magento 2 store for inventory updates. With this set-up, it is best to make sure that your connected store id is configured in Magento to decrease stock when an order is placed. You can review this set-up for Magento here.

Configure Magento Push Inventory SKUs

If you are pulling inventory from your Magento 2 Push connection, you will need to maintain the list of SKUs that you want to update inventory for in InfiPlex. To do this, you will need to use the SKU Utilities tool to upload a .csv file of the SKUs you want inventory updated for from your Magento 2 connection.

  1. Select "Enable Sell On For SKU" option in the For Selected Sell On row
  2. Check the Magento checkbox
  3. Upload your .csv file of SKUs with a single column with the Heading of "sku"

This will mark the list of SKUs as Magento inventory SKUs. Only these SKUs will get inventory updates from Magento. You will need to maintain your master list of SKUs to pull inventory for and update it as needed, as you add new SKUs to InfiPlex.
Magento 2