Amazon Services
 

Search
Go

Shop by category
 
 
 
 
 
 
 
Amazon Marketplace Web Service

Java Library for Amazon Marketplace Web Service



About this Library

  • Based on the 2009-01-01 API version.
  • Refers only to the amazon-mws-2009-01-01-javaclient-2009-10-28.zip file.

What's New?

  • 2009-10-28: Release update to client library correcting issue with downloading reports containing non-ASCII character encodings.

Prerequisites

Reference Documentation

  • MWS Getting Started Guide
  • MWS Developer Guide

Package Content

Directory Overview
dist Binary distribution of library
src Source distribution of library
third-party Binary distribution of library dependencies

Quick Start

The library comes with code samples for each available service API function. To get started with the library, follow these steps:
  1. Extract the amazon-mws-2009-01-01-javaclient-2009-10-28.zip file into a working directory.
  2. Add all jar files under "third-party/*" directory to your classpath.
  3. Add the marketplace-web-service-2009-01-01-java-library.jar file under "dist/lib" directory to your classpath.
  4. If you want to run the samples, add all sources under "src/com/amazonaws/mws/samples" directory to your compilation path.
  5. Edit the desired sample. For example, in GetFeedSubmissionCountSample:
    • Set your AWS Access Key ID and AWS Secret Access Key
    • final String accessKeyId = "<Your Access Key ID>";
      final String secretAccessKey = "<Your Secret Access Key>";
                      
    • Set your Application or Company Name and Version
    •  final String appName = "<Your Application or Company Name>";
       final String appVersion = "<Your Application Version or Build Number or Release Date>";
                      
    • Scroll further down and set your Marketplace ID and Merchant ID
    • final String MarketplaceId = "<Your Marketplace ID>";
      final String MerchantId = "<Your Merchant ID>";
                      
  6. Uncomment the following line.
  7.  // invokeGetFeedSubmissionCount(service, request);
                    
  8. Compile and run the sample. You should see output similar to the following:
  9.             GetFeedSubmissionCountResponse
                    GetFeedSubmissionCountResult
                        Count
                            72
                    ResponseMetadata
                        RequestId
                            a555ef03-d2c1-4f42-bae1-e82aee7488c6
                

    Happy coding!

 
 
 
 
 
 
 
About Us   Contact Us
Privacy Policy Copyright © , Amzn Services. All rights reserved.
Web business powered by Amazon WebStore