Last active
February 5, 2022 00:15
-
-
Save makfruit/d267539c635e7a207ea8c5bd1babe83d to your computer and use it in GitHub Desktop.
Amazon MWS requests examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REQUEST #1 | |
POST /Products/2011-10-01?AWSAccessKeyId=<removed> | |
&Action=ListMatchingProducts | |
&SellerId=<removed> | |
&MWSAuthToken=<removed> | |
&SignatureVersion=2 | |
&Timestamp=2019-05-27T09%3A20%3A51Z | |
&Version=2011-10-01 | |
&Signature=<removed> | |
&SignatureMethod=HmacSHA256 | |
&MarketplaceId=ATVPDKIKX0DER | |
&Query=Apple%20iPhone HTTP/1.1 | |
Host: mws.amazonservices.com | |
x-amazon-user-agent: AmazonJavascriptScratchpad/1.0 (Language=Javascript) | |
Content-Type: text/xml | |
RESPONSE #1 (cutted) | |
<ListMatchingProductsResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01"> | |
<ListMatchingProductsResult> | |
<Products xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd"> | |
<Product> | |
<Identifiers> | |
<MarketplaceASIN> | |
<MarketplaceId>ATVPDKIKX0DER</MarketplaceId> | |
<ASIN>B01CR1FQMG</ASIN> | |
</MarketplaceASIN> | |
</Identifiers> | |
<AttributeSets> | |
<ns2:ItemAttributes xml:lang="en-US"> | |
<ns2:Binding>Unlocked Phone</ns2:Binding> | |
<ns2:Brand>Apple</ns2:Brand> | |
<ns2:Color>Rose Gold</ns2:Color> | |
<ns2:DisplaySize Units="inches">4.7</ns2:DisplaySize> | |
<ns2:Edition>U.S. Warranty</ns2:Edition> | |
<ns2:ItemDimensions> | |
<ns2:Height Units="inches">2.64</ns2:Height> | |
<ns2:Length Units="inches">5.44</ns2:Length> | |
<ns2:Width Units="inches">0.28</ns2:Width> | |
<ns2:Weight Units="pounds">0.315000</ns2:Weight> | |
</ns2:ItemDimensions> | |
<ns2:IsEligibleForTradeIn>true</ns2:IsEligibleForTradeIn> | |
<ns2:Label>Apple_Dealer 8305723305</ns2:Label> | |
<ns2:ListPrice> | |
<ns2:Amount>659.99</ns2:Amount> | |
<ns2:CurrencyCode>USD</ns2:CurrencyCode> | |
</ns2:ListPrice> | |
<ns2:Manufacturer>Apple_Dealer 8305723305</ns2:Manufacturer> | |
<ns2:Model>6S</ns2:Model> | |
<ns2:NumberOfItems>4</ns2:NumberOfItems> | |
<ns2:OperatingSystem>ios</ns2:OperatingSystem> | |
<ns2:PackageDimensions> | |
<ns2:Height Units="inches">2.399999997552</ns2:Height> | |
<ns2:Length Units="inches">7.699999992146</ns2:Length> | |
<ns2:Width Units="inches">3.99999999592</ns2:Width> | |
<ns2:Weight Units="pounds">0.44974301448</ns2:Weight> | |
</ns2:PackageDimensions> | |
<ns2:PackageQuantity>1</ns2:PackageQuantity> | |
<ns2:PartNumber>B01CR1FQMG</ns2:PartNumber> | |
<ns2:ProductGroup>Wireless</ns2:ProductGroup> | |
<ns2:ProductTypeName>WIRELESS_ACCESSORY</ns2:ProductTypeName> | |
<ns2:Publisher>Apple_Dealer 8305723305</ns2:Publisher> | |
<ns2:ReleaseDate>2018-07-31</ns2:ReleaseDate> | |
<ns2:Size>64 GB</ns2:Size> | |
<ns2:SmallImage> | |
<ns2:URL>http://ecx.images-amazon.com/images/I/412jWjEIzKL._SL75_.jpg</ns2:URL> | |
<ns2:Height Units="pixels">62</ns2:Height> | |
<ns2:Width Units="pixels">75</ns2:Width> | |
</ns2:SmallImage> | |
<ns2:Studio>Apple_Dealer 8305723305</ns2:Studio> | |
<ns2:Title>Apple iPhone 6S, GSM Unlocked, 64GB - Rose Gold (Renewed)</ns2:Title> | |
<ns2:Warranty>90 Days Warranty</ns2:Warranty> | |
</ns2:ItemAttributes> | |
</AttributeSets> | |
<Relationships> | |
<VariationParent> | |
<Identifiers> | |
<MarketplaceASIN> | |
<MarketplaceId>ATVPDKIKX0DER</MarketplaceId> | |
<ASIN>B077GS9N3Z</ASIN> | |
</MarketplaceASIN> | |
</Identifiers> | |
</VariationParent> | |
</Relationships> | |
<SalesRankings> | |
<SalesRank> | |
... | |
----------------------------------------------------- | |
REQUEST #2 | |
POST /Products/2011-10-01?AWSAccessKeyId=<removed> | |
&Action=ListMatchingProducts | |
&SellerId=<removed> | |
&MWSAuthToken=<removed> | |
&SignatureVersion=2 | |
&Timestamp=2019-05-21T19%3A32%3A12Z | |
&Version=2011-10-01 | |
&Signature=<removed> | |
&SignatureMethod=HmacSHA256 | |
&MarketplaceId=ATVPDKIKX0DER | |
&Query=Wall%20Lamp%2C%20Industrial%20Retro%20Wrought%20Iron%20Rocker%20Arm%20Living%20Room%20Bedroom%20Wall%20Lamp%20Three%20Head%20LED%203W%20Bathroom%20Mirror%20Front%20Light HTTP/1.1 | |
Host: mws.amazonservices.com | |
x-amazon-user-agent: AmazonJavascriptScratchpad/1.0 (Language=Javascript) | |
Content-Type: text/xml | |
RESPONSE #2 | |
<ListMatchingProductsResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01"> | |
<ListMatchingProductsResult> | |
<Products xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd"> | |
<Product> | |
<Identifiers> | |
<MarketplaceASIN> | |
<MarketplaceId>ATVPDKIKX0DER</MarketplaceId> | |
<ASIN>B07GZRPNRL</ASIN> | |
</MarketplaceASIN> | |
</Identifiers> | |
<AttributeSets> | |
<ns2:ItemAttributes xml:lang="en-US"> | |
<ns2:Binding>Kitchen</ns2:Binding> | |
<ns2:Brand>Lina</ns2:Brand> | |
<ns2:ItemDimensions> | |
<ns2:Weight Units="pounds">8.1350574678000</ns2:Weight> | |
</ns2:ItemDimensions> | |
<ns2:Label>LINA</ns2:Label> | |
<ns2:Manufacturer>LINA</ns2:Manufacturer> | |
<ns2:NumberOfItems>1</ns2:NumberOfItems> | |
<ns2:PackageQuantity>1</ns2:PackageQuantity> | |
<ns2:ProductGroup>Home</ns2:ProductGroup> | |
<ns2:ProductTypeName>HOME</ns2:ProductTypeName> | |
<ns2:Publisher>LINA</ns2:Publisher> | |
<ns2:SmallImage> | |
<ns2:URL>http://ecx.images-amazon.com/images/I/31XWB%2BYRfwL._SL75_.jpg</ns2:URL> | |
<ns2:Height Units="pixels">75</ns2:Height> | |
<ns2:Width Units="pixels">75</ns2:Width> | |
</ns2:SmallImage> | |
<ns2:Studio>LINA</ns2:Studio> | |
<ns2:Title>Wall Lamp, Industrial Retro Wrought Iron Rocker Arm Living Room Bedroom Wall Lamp Three Head LED 3W Bathroom Mirror Front Light</ns2:Title> | |
</ns2:ItemAttributes> | |
</AttributeSets> | |
<Relationships/> | |
<SalesRankings/> | |
</Product> | |
</Products> | |
</ListMatchingProductsResult> | |
<ResponseMetadata> | |
<RequestId>abbf39a7-57a7-4a5e-9279-cbb698bfd99d</RequestId> | |
</ResponseMetadata> | |
</ListMatchingProductsResponse> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment