You are here:  » Api's


Api's

Submitted by augirl on Tue, 2016-06-28 02:21 in

Hi David

I getting a lot of merchants and would like to get results by api instead of datafeeds.
I have three affiliate networks which have api. Is there anyway to do this.

Thank you
Annette

Submitted by support on Tue, 2016-06-28 08:25

Hello Annette,

Check out this thread regarding consumption of API services as feeds - most API implementations are able to return a large number of products per request URL and support pagination, typically through the use of parameters such as "start" and "limit", so the thing to do would be to have multiple Automation Tool jobs as required, for example (not including the %HEADER% components)

URL: http://www.example.com/api/products?start=0&limit=1000
Filename: MerchantName1.xml

URL: http://www.example.com/api/products?start=1000&limit=1000
Filename: MerchantName2.xml

URL: http://www.example.com/api/products?start=2000&limit=1000
Filename: MerchantName2.xml

Hope this helps!

Cheers,
David.
--
PriceTapestry.com