VirtualStock Integration
Connect VirtualStock as a sales channel: why it needs both an API and an SFTP login, how orders are confirmed, what Neuro reads over SFTP and how to fix connection problems.
Last updated 12 days ago

VirtualStock is a drop-ship platform that retailers use to send purchase orders to their suppliers. When you add VirtualStock as a sales channel, you are the supplier: the retailer's orders come into Neuro, you accept and ship them, and Neuro sends your acknowledgements, tracking, stock and invoices back to VirtualStock.
If you are a brand or retailer sending your own orders to a VirtualStock supplier, use the VirtualStock Plugin guide instead.
Why VirtualStock needs two sets of login details
VirtualStock shares information in two different ways, so the channel needs two separate logins. Both are required and the channel cannot be saved without them.
Why the SFTP connection matters: VirtualStock only publishes order changes made outside Neuro as files on its SFTP server. They are not available through the API. Without a working SFTP connection, a cancellation or return raised by the retailer never reaches Neuro, and you could pick and ship an order that has already been cancelled.
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 (sftp.virtualstock.com), 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. Use sandbox only switches the API to VirtualStock's test system; it does not change which files are read.
The login is a username and password. SSH keys are not used for VirtualStock.
Before you start
Ask your VirtualStock account manager for:
your API username and password;
your SFTP (FTP) username and password;
confirmation that your SFTP account has the live environment set up, so the live folder exists;
the supplier account the channel should use, if you have more than one.
Installing the VirtualStock sales channel

Steps shown in the screenshot:
Open Stores and select your store.
Stay on the Channels tab.
Click Add Channel. Search for the channel and click Install.

Steps shown in the screenshot:
Enter a channel name.
Enter your VirtualStock username.
Enter the password.
Enter the FTP username.
Enter the FTP password.
Choose the supplier.
Set the invoice and order options and what to sync, then click Save.
After saving, switch the channel to Active at the top of the page.
VirtualStock settings
The general channel settings, such as Get orders, Manage stock and Download products, are explained in Sales Channel Settings Explained.
How VirtualStock orders move through Neuro
Every 3 minutes (by default) Neuro reads new purchase orders from VirtualStock. They appear under Orders > Order Confirmations as Pending. They are not in your main order list yet.
Accept or reject the order lines on the Order Confirmations page. Within about 5 minutes Neuro sends the acknowledgement to VirtualStock. Once an order is accepted, it is created in Orders as Unshipped and follows your normal rules and plugins.
If the order is accepted in VirtualStock itself, VirtualStock writes an order file to SFTP. Neuro reads it, marks the confirmation as accepted with the quantities in the file, and creates the order.
When you ship the order, Neuro sends the dispatch and tracking to VirtualStock within about 5 minutes, and creates the invoice if Automatically create invoice is on.
If the retailer cancels or returns the order, VirtualStock writes a file to SFTP and Neuro updates the order.
What Neuro reads over SFTP
Order event files
Neuro checks for new order event files every 3 minutes, at the same time as it reads new orders (so Get orders must be on). The file name tells Neuro what happened:
Neuro skips an event for an order it does not have (for example an order from before the channel's start date) and an event for an order that is already Shipped in Neuro. Files ending in .err are ignored.
Inventory files
VirtualStock can also publish inventory files listing each part number with its free stock. Neuro reads them each time it imports products from VirtualStock: every 12 hours by default, or straight away when you use Refetch Products. This needs Manage stock and Download products on. Neuro matches each part number to a channel product with the same SKU and updates its quantity. A file is only read once VirtualStock has finished writing it (it adds a matching .DONE file).
Checking the SFTP connection
Open the channel and go to Logs:
Get order updates runs every 3 minutes. 0 order updates file found in FTP means the connection worked and there was nothing new. This is normal.
Update order entries show each event file Neuro processed, with the action (for example Cancel) and the result.
Get product stocks and Update product stock show inventory files and how many products were updated.
Troubleshooting
If a retailer cancellation is not showing in Neuro, check Get order updates in the logs first. If it shows a login or folder error, the SFTP details need fixing before any cancellations or returns can come through.
For more help, contact the Neuro Support Team.
Was this helpful?
More in Systems, Files and EDI
Brightpearl IntegrationLinnworks IntegrationEDI IntegrationMintsoft IntegrationStill need help? Share an idea