Amazon Services
 

Search
Go

Shop by category
 
 
 
 
 
 
 
Amazon Marketplace Web Service

C# 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-csclient-2009-10-28.zip file.

What's New?

  • 2009-10-28: Release update to correct problems with MWS request retry errors.

Prerequisites

Reference Documentation

  • MWS Getting Started Guide
  • MWS Developer Guide

File Content

Directory Overview
src Source distribution of the library. All sources including code samples that demonstrate the use of the library are located under this directory.

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-csclient-2009-10-28.zip file into a working directory.
  2. Open the MarketplaceWebService.sln project file.
  3. Open the MarketplaceWebServicesSample.cs file and set the following credentials:
    • Set your AWS Access Key ID and AWS Secret Access Key
    • String accessKeyId = "<Your AWS Access Key>";
      String secretAccessKey = "<Your AWS Secret Key>";
                      
    • Set your Application or Company Name and Version
    • const string applicationName = "<Your Application Name>";
      const string applicationVersion = "<Your Application Version>";
                      
    • Scroll further down and set your Marketplace ID and Merchant ID
    • const string merchantId = "<Your Merchant ID>";
      const string marketplaceId = "<Your Marketplace ID>";
                      
  4. To run a sample, you can uncomment the appropriate section of code. For example, to run GetFeedSubmissionCount, uncomment at least the first three and the fifth of the following lines and then press F5 to run:
    //GetFeedSubmissionCountRequest request = new GetFeedSubmissionCountRequest();
    //request.Merchant = merchantId;
    //request.Marketplace = marketplaceId;
    // @TODO: set additional request parameters here
    //GetFeedSubmissionCountSample.InvokeGetFeedSubmissionCount(service, request);
                    
  5. You should see output similar to the following:

                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