bestbuy
Version:
High level node.js client for the Best Buy API.
22 lines • 3.88 kB
JSON
[
{
"scope": "https://api.bestbuy.com:443",
"method": "get",
"path": "/v1/products(gurgleflats)?format=xml&apiKey=XXX&cursorMark=*&pageSize=100",
"body": "",
"status": 400,
"response": "xml version=\"1.0\" encoding=\"UTF-8\"?>\n<?xml-stylesheet href=\"/v1/xsl/xml_pretty_printer.xsl\" type=\"text/xsl\"?>\n<error>\n <code>400</code>\n <status>400 Bad Request</status>\n <message>Couldn't understand '/v1/products(gurgleflats)?format=xml&apiKey=XXX&cursorMark=*&pageSize=100': Failed at character 25.</message>\n <examples>\n <example>/v1/products/8880044.xml?apiKey=<YourApiKey> : Get product information for sku 8880044; display as XML</example>\n <example>/v1/stores/187.json?apiKey=<YourApiKey> : Get information for store 187; display as JSON</example>\n <example>/v1/products?apiKey=<YourApiKey> : Get all products; show the first 10, sorted by name, display default attributes, formatted as xml</example>\n <example>/v1/products?facet=manufacturer,10&apiKey=<YourApiKey> : Get all products; show the first 10, sorted by name, display default attributes, formatted as xml, and display up to 10 facets based on the "manufacturer" field.</example>\n <example>/v1/products?pageSize=50&page=4&apiKey=<YourApiKey> : Get page 4 of all products, 50 products per page</example>\n <example>/v1/products?show=sku,name,salePrice&apiKey=<YourApiKey> : Get all products, display only sku, name, and SalePrice for each</example>\n <example>/v1/products?sort=regularPrice.desc&apiKey=<YourApiKey> : Get all products, sort descending by regular price (most expensive first)</example>\n <example>/v1/products(manufacturer=canon)?apiKey=<YourApiKey> : Get all products manufactured by Canon</example>\n <example>/v1/products(salePrice<299.99)?apiKey=<YourApiKey> : Get all products whose sale price is less than $299.99</example>\n <example>/v1/products(manufacturer=canon&salePrice<299.99)?apiKey=<YourApiKey> : Get Canon products with sale price less than $299.99</example>\n <example>/v1/products(sku in(9909482,1221963,9491935))?apiKey=<YourApiKey> : Get products whose sku is in the list (9909482,1221963,9491935)</example>\n <example>/v1/products(wifiReady=true|wifiBuiltIn=true)?apiKey=<YourApiKey> : Get products that are either Wi-Fi ready, OR have Wi-Fi built in</example>\n <example>/v1/products(name=castlevania*)?apiKey=<YourApiKey> : Get physical (not downloadable) products with "castlevania" in name</example>\n <example>/v1/products(name=castlevania*&digital=true)?apiKey=<YourApiKey> : Get downloadable products with "castlevania" in name</example>\n <example>/v1/products(name=castlevania*&digital=*)?apiKey=<YourApiKey> : Get products, physical or downloadable, with "castlevania" in name</example>\n <example>/v1/stores(area(55423,10))?show=storeId,name,hours,distance&apiKey=<YourApiKey> : Get stores within 10 miles of zip code 55423; show store number, name, store hours, and distance from zip code reference point</example>\n <example>/v1/stores(area(55423,10))+products(sku in(9909482,1221963,9491935))?show=storeId,name,products.sku,products.name&apiKey=<YourApiKey> : Get stores within 10 miles of zip code 55423, and show which skus, of 9909482, 1221963, or 9491935, each store has in stock</example>\n </examples>\n</error>\n",
"rawHeaders": [
"Content-Type",
"text/xml; charset=UTF-8",
"Date",
"Fri, 14 Feb 2020 18:55:45 GMT",
"Server",
"thin",
"Content-Length",
"3316",
"Connection",
"Close"
]
}
]