Sync Magento 2 inventory automatically
Spojit keeps Adobe Commerce (Magento 2) stock in line with your source of truth. It reads quantities from your ERP, warehouse system or supplier files and updates Magento's source items for each warehouse.
- Every 15 minutestrigger
- Read ERP stockaction
- Compare with Magentoaction
- Update source itemsaction
- Stock in syncdone
The workflow, step by step
Read the source of truth
Quantities come from NetSuite, Unleashed, Cin7 Core, a 3PL's API, or a stock file dropped on SFTP or emailed by a supplier.
Map warehouses to sources
Each warehouse or location is mapped to a Magento inventory source, so multi-source stock stays correct.
Compare before writing
Current source items are read from Magento, and only the SKUs whose quantity changed are updated.
Update source items
Changed quantities and stock status are written to Magento through the REST API in batches.
Report exceptions
SKUs that exist in one system but not the other are listed for the team instead of failing the run.
Adobe Commerce is a built-in connector in Spojit, connected with the access token from an integration you create in the Magento admin under System, Extensions, Integrations, plus your store URL and store code.
- Your Adobe Commerce or Magento 2 store URL and store code
- An integration access token with the API resources your workflows need
Ways to adapt it
- Run every 15 minutes for fast-moving stock, or nightly for slow-moving catalogs.
- Reserve a safety buffer so the store never sells the last unit in the warehouse.
- Push stock to WooCommerce or Shopify from the same run if you sell there too.
- Alert purchasing when a SKU's stock falls below its reorder point.
Questions, answered
Can I still use Magento's SOAP API?
Magento 2 dropped the SOAP API that Magento 1 integrations relied on. Spojit uses the REST API, which covers inventory sources and source items.
Does it support multi-source inventory?
Yes. Each warehouse maps to a Magento source, and quantities are updated per source.
Which systems can stock come from?
NetSuite is built in, Unleashed and Cin7 Core connect through their APIs, and files can come from SFTP or email.
Related workflows
Build it in minutes
Describe this workflow to Miraxa and it builds it for you, ready to test. Start free, no credit card required.