VirtualStock Plugin
Connect a VirtualStock supplier as a plugin: why it needs both an API and an SFTP login, how stock and tracking come back over SFTP, sync timings and troubleshooting.
Last updated 12 days ago

Use the VirtualStock plugin when your orders are fulfilled by a supplier through VirtualStock (drop-ship). Neuro sends your orders, products and cancellations to VirtualStock, and reads the supplier's stock and dispatch information back.
If you are the supplier receiving purchase orders from a retailer on VirtualStock, use the VirtualStock Integration sales channel guide instead.
Why the plugin needs two sets of login details
VirtualStock shares information in two different ways, so the plugin needs two separate logins. Both are required.
Why the SFTP connection matters: VirtualStock publishes stock levels and dispatch confirmations as files on its SFTP server, not through the API. Without a working SFTP connection Neuro cannot receive tracking numbers, so orders are never marked as shipped, and it cannot read the supplier's stock.
Points that often cause confusion:
The FTP login is not the same as your VirtualStock portal or API login. VirtualStock issues it separately.
You do not need your own SFTP server. Neuro connects to VirtualStock's server, so there is no host, port or folder to enter.
Neuro only reads files. It never uploads, moves, renames or deletes anything on the SFTP server.
Neuro reads the live area of your SFTP account, so VirtualStock must have the live environment set up on it.
Before you start
Ask your VirtualStock account manager for your API username and password, your SFTP (FTP) username and password, and confirmation that the live environment is set up on the SFTP account.
Installing the VirtualStock plugin

Steps shown in the screenshot:
Open Stores and select your store.
Open the Plugins tab.
Click Add Plugin. Find the plugin in the list and click Install.

Steps shown in the screenshot:
Enter a plugin name.
Enter your VirtualStock username.
Enter the password.
Enter the FTP username.
Enter the FTP password.
Choose the order supplier.
Choose the product supplier.
Set what to sync, then click Save.
After saving, switch the plugin to Active. The Order supplier, Product supplier and Product category lists fill in once VirtualStock returns them, so allow 3 to 5 minutes after activating, then open the plugin again and choose them.
VirtualStock settings
The general plugin settings, such as Push orders, Import products, Auto-sync stock and Push order cancellations, are explained in Plugin Settings Explained.
What Neuro does and how often
Stock files
Neuro reads only the stock files published since the last one it read, oldest first, and only once VirtualStock has finished writing each file. Each part number is matched to a Neuro product with exactly the same SKU, and its free stock is saved as the product's Plugin Quantity. Part numbers that do not exist in Neuro are skipped. With Auto-sync stock on, this stock is added to your Neuro stock and sent on to your sales channels.
Dispatch files
When the supplier dispatches an order, VirtualStock adds it to an event report file. Neuro reads new event reports, matches each line to the order it sent, and creates a fulfilment with the carrier and tracking number, which marks the order as Shipped. If no carrier is given, Neuro works it out from the tracking number format. If any shipment in a file fails, Neuro reads the same files again next time; shipments already recorded are not added twice.
Checking the SFTP connection
Open the plugin and go to Logs:
Get product stocks runs every 3 minutes. 0 product updates file found in FTP means the connection worked and there was nothing new.
Update product stock shows how many stock levels each file updated.
Get tracking info shows each dispatch file, for example 5 tracking code found, 0 failed, 5 successful.
Troubleshooting
For more help, contact the Neuro Support Team.
Was this helpful?
More in Inventory and ERP
Shopify PluginUnleashed PluginStill need help? Share an idea