Apex client for Amazon Marketplace Web Service (Amazon MWS) Reports API (version 2009-01-01)
API reference: http://docs.developer.amazonservices.com/en_US/reports/
Currently following operations are implemented.
// setup mws_Client with
// - API endpoint (see http://docs.developer.amazonservices.com/en_US/dev_guide/DG_Endpoints.html)
// - AWS Access Key ID
// - Secret Key
mws_Client client = new mws_Client('https://mws.amazonservices.jp', 'access_key', 'secret');
// set your Seller ID
client.sellerId = 'seller';
// create request with required parameter(s)
mws_RequestReport action = new mws_RequestReport(mws_ReportType.GET_AMAZON_FULFILLED_SHIPMENTS_DATA);
// optionally set parameter(s)
// action.endDate = DateTime.now();
// send request with the client and consume the response
mws_RequestReportResponse response = (mws_RequestReportResponse) client.send(action);