Amazon MWS with PHP integration

DP TechRocket picture DP TechRocket · May 29, 2017 · Viewed 8.3k times · Source

I am new to amazon mws. I want to do the mws api integration with php. I have all the credentials whatever needed like secret key, seller id, and etc.

Basically i want to display all my orders in my php website. I tried with use of developer guide which is provided by the mws documentation. but i could not get a proper idea of how to integrate api in my php site.

Answer

Hazzit picture Hazzit · May 29, 2017

First steps in creating an MWS client:

  1. Create a professional seller account on Amazon (fees will apply)
  2. Get credentials for that account
  3. Download the PHP client library
  4. Add your credentials from step 2 to the PHP code
  5. Start developing

In your case you'll want to look at the Reports API, specifically at RequestReport to request a list of orders, which you'll then fetch through GetReport. Eventually you'll probably need to call ManageReportSchedule to automatically create reports ready to fetch.