Skip to main content
All CollectionsIntegration to ShopifyGetting Started
I am already using Megaventory and want to start using Shopify (Custom app installation)
I am already using Megaventory and want to start using Shopify (Custom app installation)
Kostis Mamassis avatar
Written by Kostis Mamassis
Updated over a week ago

Note: Any of the three typical Shopify versions (Basic Shopify, Shopify, Advanced Shopify) can be connected with a Megaventory account.

Step 1 - Creating the Megaventory extension in Shopify

For the time being and until the Megaventory integration with Shopify leaves the beta stage the only way to use it is by creating a Private App in your Shopify account. To do this, navigate to Apps > Develop apps > Create an app:

Fill in the information below to create the custom app:

Click Create app

Then click 'Configure Admin API Scopes' and make sure to enable the following API scopes:



Click Save.

Then, go to the 'API Credentials' tab and install the app to get your credentials for the next step:


Step 2 - Activating the Shopify integration in Megaventory

To use the Shopify eCommerce software, the appropriate checkbox has to be enabled in the Integrations module of Megaventory. This module lies under Menu > Integrations and handles the few settings involved in integrating Megaventory to any 3rd party software. Extra help while filling out the form can be obtained by hovering with the mouse over the bubble icon next to each specific field.

When ready, save the form by clicking the Save option. 


Step 3 - Creating the Shopify store in Megaventory

Fill in the fields below in Megaventory based on the corresponding fields in the Megaventory App section in Shopify.


Step 4 – Store Initialization and Connection activation 

After the store has been successfully created, a new entry in the Megaventory list of Shopify stores appears. Under the store name, the Synchronization icon will now be visible. Clicking it will start the Synchronization process for the first time with the newly created Shopify store. A popup module tracking the progress is displayed as in the figure below:

The process automatically sends and receives the following entities to and from Megaventory.

  1. Locations are synchronized from Shopify to Megaventory.

  2. Customers are synchronized from Shopify to Megaventory.

  3. Products are synchronized from Shopify to Megaventory.

  4. If there are multiple variants per product in Shopify, the corresponding products will be created as separate SKUs in Megaventory.

  5. The Megaventory product description is populated from the Shopify product title

  6. If the ‘Synchronize product prices’ checkbox is enabled (and assuming the Megaventory default currency is the same with this Shopify Store’s default price), then the product and variant prices will be synchronized from Shopify to Megaventory too.

In case some of the entities fail for any possible reason (for example, connectivity is temporarily lost etc.), then a log is written to the Shopify event section of Megaventory and a prompt to view the logs is shown in the pop-up module. The log is also accessible via the Shopify Logs button on the Shopify pop-up.

If for any reason, the setup does not finish successfully, the user may address the problem as diagnosed from the logs, refresh the page of the list of stores and click the Synchronization link to start over.

After the sync ends and if the user has checked ‘Shopify Orders synced as Approved’, the Inventory Location of Megaventory that will receive Shopify orders by default has to be selected. If at any point the user visits the page to Edit the store details, they can change the default Inventory Location.

Note that, since Megaventory supports multiple Inventory Locations, product quantities can be later distributed between Inventory Locations from the Megaventory software; inventory information will always be synced to the Shopify software in any case.

The initial stock synchronization from Shopify to Megaventory is part of the Initial Sync process as well.

The stock synchronization from Shopify to Megaventory creates some stock adjustments (Pending) in the Megaventory account for each location. For example, If the stock for a product in Shopify is 10 and in Megaventory it is 0 in a specific location, then in that Megaventory location an adjustment plus document will be created with stock 10. On the other hand, if more stock is on your Megaventory account, say 15, then an adjustment minus document will be created for this location with stock 5 for this product.

Note: If you’re using your Shopify store integration with Megaventory as an opportunity to bring your Megaventory stock up-to-date too, then you can do your own inventory adjustment to initialize the stock in Megaventory and the new stock of the corresponding products on your Shopify store will also be updated.

As soon as the Initial Synchronization process is finished, two new options show up under the store name - Connect and ReSync.

The ReSync option lets you perform the Initialization process again for a specific entity (either Locations, Customers, Products or Stock). Clicking it will toggle the pop-up module and display the available choices, as seen in the figure below:

Please note that the store must not be connected for the Re-Initialization of a specific entity to be possible.

As soon as the option of Connect is clicked, then the Shopify integration will start sending and receiving data with every Shopify action that needs to communicate data to and from Megaventory. Clicking the Disconnect link will effectively disable all the functionalities of the module, except the ReSync option.

For the setup to be successful, the store should be in Connected state.

Step 5 - Exporting Initial Megaventory Data to be used in Shopify

Some of the following Megaventory data may possibly need to be exported to Shopify.

  1. Products 

  2. Product quantities per Inventory Location 

  3. Clients 

  4. Inventory Locations

The data export functionality of Megaventory allows for the easy export of any data entity. For example, for Products, the user should navigate to the Products list and then click the Export as Excel option without selecting any product from the list. That action exports all the products in Excel format.

The same process may also be repeated for the rest of the data in the list above. After the xls files have been generated and saved in a local folder, the process of importing the entities to Shopify can begin.

Step 6 - Importing the Initial Megaventory Data to Shopify

The steps in the Import Process of Shopify differ slightly by data entity. 

For products, navigate to Products > All Products > Import

For product stock, navigate to Products > Inventory > Import

For clients, navigate to Customers > Import

Locations cannot be imported 

Instead, locations should be created manually in Shopify.


This is the last step of the whole set-up process. 

  • See here for information regarding the extra features that the Shopify integration has to offer.

  • Having completed the initial synchronization see here for what is synchronized in an automated way on a regular basis.


Did this answer your question?