Amazon MWS Connector
Amazon MWS Connector Help
Version 1
ZappySys Logo File Version: v1
Supported Engine: v1 or higher

How to read data from Amazon MWS in ODBC application


In this section we will learn how to configure and use Amazon MWS Connector in the API Driver to extract data from the Amazon MWS.

Create ODBC Data Source (DSN) based on ZappySys API Driver

To get data from AmazonMws using we first need to create a DSN (Data Source) which will access data from AmazonMws. We will later be able to read data using . Perform these steps:

  1. Install ZappySys ODBC PowerPack.

  2. Open ODBC Data Sources (x64):
    Open ODBC Data Source

  3. Create a User Data Source (User DSN) based on ZappySys API Driver

    ZappySys API Driver
    Create new System DSN for ZappySys API Driver
    You should create a System DSN (instead of a User DSN) if the client application is launched under a Windows System Account, e.g. as a Windows Service. If the client application is 32-bit (x86) running with a System DSN, use ODBC Data Sources (32-bit) instead of the 64-bit version.
  4. When the Configuration window appears give your data source a name if you haven't done that already, then select "Amazon MWS" from the list of Popular Connectors. If "Amazon MWS" is not present in the list, then click "Search Online" and download it. Then set the path to the location where you downloaded it. Finally, click Continue >> to proceed with configuring the DSN:

    AmazonMwsDSN
    Amazon MWS
    ODBC DSN Template Selection

  5. Now it's time to configure the Connection Manager. Select Authentication Type, e.g. Token Authentication. Then select API Base URL (in most cases, the default one is the right one). More info is available in the Authentication section.

    Please refer to below API Reference (External Site) link for OAuth [OAuth]

    https://zappysys.com/links/?url=http://docs.developer.amazonservices.com/en_US/dev_guide/DG_Registering.html

    Fill in all required parameters and set optional parameters if needed:

    AmazonMwsDSN
    Amazon MWS
    OAuth [OAuth]
    https://mws.amazonservices.com
    Required Parameters
    AWSAccessKeyId Fill in the parameter...
    Secret Key Fill in the parameter...
    SellerId Fill in the parameter...
    Optional Parameters
    ODBC DSN Oauth Connection Configuration

  6. Once the data source has been configured, you can preview data. Select the Preview tab and use settings similar to the following to preview data:
    ODBC ZappySys Data Source Preview

  7. Click OK to finish creating the data source.

Reading data from client application
  1. Firstly, to get data from ODBC data source based on ZappySys ODBC driver, in your client application, you would need to connect to ODBC source and then from the list select the data source.
  2. Finally, to read the data just read tables/views in your app or enter a SQL statement to extract data, e.g.:

    SELECT * FROM Products
Consume Data inside your App / Programming Language Once you know how to load data from Amazon MWS Connector, you can click on one of the below links to learn the steps how to consume data inside your App / Programming Language from Amazon MWS Connector. ODBC inside ETL / Reporting / BI Tools ODBC inside Programming Languages