Dougie, Thanks, but as I think you deduce, that’s not what I’m trying to do. I have an ordinary Amazon account; I use it quite a lot. I want to be able to get from Amazon a list of all the stuff I’ve ordered, using a formal API. There aren’t any data protection issues, as it’s my data (and, obviously, I’d expect to have to use my Amazon userID and password to get at any of it).
Currently, I use an AppleScript to obtain the “we have received your order” emails from Mail, then parse them using regular expressions. It sort of works, but it’s flakey as hell, in part because they keep changing the details. Hey ho. Jeremy > On 16 Aug 2019, at 08:52, Douglas Cryer via 4D_Tech <[email protected]> > wrote: > > Jeremy, > > Re: Does anyone know if Amazon has any form of API which would allow > retrieval of all orders placed by a user with them between particular dates? > > The answer to your very specific question is no. But I would say if you are > willing to put in the work the answer is "kinda"... > > http://docs.developer.amazonservices.com/en_UK/orders-2013-09-01/Orders_ListOrders.html > > The date part is easy (if anything about MWS can be called easy) the specific > user would require you pulling the data apart. > > Of course this is only in relation to a user placing orders against the > account/s you have API access to. If you are asking generally for data on a > user placing orders anywhere in Amazon during a date period the answer is a > very firm no. Not only is there no such API but if there were Amazon would > be contravening many international laws relating to data privacy. > > Regards, Dougie ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

