Skip to content

A lightweight PHP library to interrogate the Amazon Marketplace Web Services. Handles authentication.

License

Notifications You must be signed in to change notification settings

DaveWilcock/amazon-mws-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon MWS API for PHP

This is a lightweight library to interrogate the Amazon Marketplace Web Services

There is currently three API implementations:

  • Feeds
  • Orders
  • Products

Feeds

This API is used to submit Product information to Amazon Marketplace via the MarketplaceWebService

API reference guide can be found at http://docs.developer.amazonservices.com/en_UK/feeds/index.html

Orders

This API is used to retrieve Order information from Amazon Mawketplace via the MarketplaceWebService

API reference guide can be found at http://docs.developer.amazonservices.com/en_UK/orders/2013-09-01/index.html

Products

This API is used to query Amazon for Product information via the MarketplaceWebService

API reference guide can be found at http://docs.developer.amazonservices.com/en_UK/products/index.html

Examples

<?php

$arrConfig = array(
   'SellerId' => 'MY_SELLER_ID',
   'MWSAuthToken' => 'MY_MWS_AUTH_TOKEN',
   'AWSAccessKeyId' => 'MY_AWS_ACCESS_KEY_ID',
   'SecretKey' => 'MY_SECRET_KEY',
   'Endpoint' => 'mws.amazonservices.co.uk'
);

$objAmazon = new \DawgUK\AmazonMWS\Amazon($arrConfig);

$arrListOrdersPayload = array(
   'MarketplaceId.Id.1' => 'A1F83G8C2ARO7P',
   'CreatedAfter' => '2016-01-01T19:00:00Z'
);

$objResponseXML = $objAmazon->call('Feeds/getFeedSubmissionList', $arrPayload);
print_r($objXml);
$arr_headers = $objAmazon->getHeaders();
print_r($arr_headers);

About

A lightweight PHP library to interrogate the Amazon Marketplace Web Services. Handles authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages