Pulling Past Orders from Volusion
- DarkLight
Pulling Past Orders from Volusion
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Volusion's API can only be accessed once by one application. If another application has already accessed the Volusion API, Yotpo won't be able to pull past orders.
Please note:
In order to pull future orders, you must follow this guide.
Implementation
If you have already accessed the Volusion API, then you must edit the Orders.asp file in order to be able to pull your past orders into Yotpo.
- Open the folder on your site where Yotpo is installed (using FTP).
- Open the Orders.asp file.
- Scroll to lines 231 & 232.
& " WHERE OrderDate between '{StartDate}' and '{EndDate}'" _ & " OR ShipDate between '{StartDate}' and '{EndDate}'" _
- Change the following hard-coded dates - {StartDate} & {EndDate}.JavaScript
& " WHERE OrderDate between '2017-01-01' and '2017-04-12'" _ & " OR ShipDate between '2017-01-01' and '2017-04-12'" _
Important:{StartDate} should be a date in the far past.
{EndDate} should be the current date. - After 24 hours, run this API call to verify that the past orders have arrived in Yotpo's Database
- Revert Orders.asp variables back to {StartDate} & {EndDate}
Was this article helpful?