2

I don't know what should I enter in below fields in amazon MWS PHP library

define('APPLICATION_NAME', '<Your Application Name>');  
define('APPLICATION_VERSION', '<Your Application Version or Build Number>'); 

If anyone know about Application name and version in Amazon MWS, explain about application name and version.

3
  • 1
    Your application name and version?
    – mishmash
    Jan 25, 2013 at 7:18
  • @vanneto I am developing a system to export my store products to seller central. So I used MWS PHP library. I don't know what should I enter into APPLICATION_NAME, APPLICATION_VERSION fields.
    – sabari
    Jan 28, 2013 at 10:20
  • My custom samples run without an application name and version. The samples are garbage. Aug 16, 2016 at 15:22

3 Answers 3

9

You enter the application name and version. According to a comment in the file you linked to:

/*
* All MWS requests must contain a User-Agent header. The application
* name and version defined below are used in creating this value.
*/

So, the application name and version are used to create the user agent string. You said your application will be used to export your store products to seller central. So use a name like MyProductExporter and the version will be 1.0 and then when you upgrade it you can set the version to 1.1.

So, for example, mine would look something like:

define('APPLICATION_NAME', 'MyAWESOMEProductExporter');  
define('APPLICATION_VERSION', '1.1.391');

So it's for identifying your client via User-Agent - as long as it's unique, put whatever makes sense to you in there.

Hope this helps

1
  • Thank you. Now understood about app name & version. :)
    – sabari
    Jan 28, 2013 at 12:55
1
define('APPLICATION_NAME', 'MarketplaceWebServiceProducts PHP5 Library');
define('APPLICATION_VERSION', '2');
0

https://github.com/tejesh002/amazon-mws

php composer package for settlement

  • GetReportList
  • GetReportRequest
  • GetReport
  • UpdateAcknowledge

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.