We require a Magento plugin with 4 pages (or one that returns the 4 results we need) that based on a call flag returns one of the 3 attached XMLs.
List of Products
List of Customers
List of Orders
The LastUpdated in the root of the objects has to be a string that is unique for every change but the format does not matter. I can be a version number of a timestamp. As long as we can use it to make sure the element is new/same it's good enough.
We will call these pages with a unique key that the user should be able to configure in the eCommerceEngine or have it automatically generated.
Format of the request is always
https://[server]/[path]/[resource]?AccessKey=[configuration access key]&Page=0&LastUpdatedTime=[timestamp]
AccessKey is a key that is configure in eCommerceEngine and entered in OneSaas by the user
Page = the page (you can return as many records as you want in a page but the first page with no data will stop the requests)
LastUpdatedTime: a UTC timestamp in format yyyy-MM-ddTHH:mm:ss (url encoded)
We expect only changes since that timestamp.
If you can't handle point-in-time changes just ignore and we'll reload everything every time
Here is a sample request for our WordPress plugin:
Products: [url removed, login to view]
Contacts: [url removed, login to view]
I've attached the WordPress plugin that returns this data and a screenshot of how that configuration is done in WordPress. The API Key in WP we generate it automatically to make it easy for the user and to keep it safe (avoid simple 2-3 chars keys entered by the user).