Migrating SP-API


#1

Hi everyone.
We have a public app and having a very hard time completing step 5 in:
https://developer-docs.amazon.com/sp-api/docs/tutorial-convert-a-public-amazon-mws-application-into-a-selling-partner-api-application

The youtube videos aren’t clear enough and we’re trying to use PHP instead of javascript so we don’t have to use any 3rd party tools such as swagger etc.

Can anyone, PLEASE point us to the right direction? Any php samples? Any help at all?
Thank you so much!


#2

Swagger isn’t a 3rd party tool for connecting to Selling Partner API but rather a tool to generate the library that will do it for you. However it looks like Amazon has dropped support for PHP. You can still use swagger to generate PHP libraries for you (you will need to modify the code generation syntax), however the authorization library isn’t built via swagger so you will need to translate that into PHP or get a version of it in PHP.