Hi Brad
many thanks for your reply .. for begin to do some tests , do you know if i have to register my self in amazon ? if yes
which procedure i have to follow to register my self for justo do some tests ?
Thanks in advance
Jhon
________________________________
Da: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> per conto di Brad Stone <bvstone@xxxxxxxxx>
Inviato: mercoledì 15 giugno 2022 22:05
A: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Oggetto: Re: Amazon Marketplace Api rest Web Services
I've done many with lots of other endpoints for myself and clients, and I
have one client that uses Amazon endpoints for a lot of their merchandise.
They're all very similar from each endpoint provider.
The main thing to figure out first is what they do for authorization (ie,
OAuth 2.0 most likely) and if you can get tokens using user/pw or if it
requires getting a code, then having their server call back to get the
initial token(s).
I usually put together an ILE subroutine to get the token. It will check
if the current one is still valid, If so, it returns it. If not, it
refreshes it and returns the new token. Then it makes the API call.
What you'll need:
An HTTP client (GETURI, HTTPLIB, etc)
JSON processing (YAJL, etc.)
That's about it. Once you have that it's building JSON, making the API
call, and parsing the returned data.
On Wed, Jun 15, 2022 at 2:52 PM john art <jhon_art@xxxxxxxxxxx> wrote:
Hi all
i would need to do some test with Amazon Api Rest Web Service; in
particular i would need to test how to publish my Catalog Items and how to
read orders received. Anyone has had experience with Amazon MarketPlace
ands with this Web Services ?
Any Kind of information is appreciated
Thnaks in advance
Jhon
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.