Walmart Open API
- February 5, 2019
- Posted by: Aelius Venture
- Category: Information Technology
Product Lookup API
Product Lookup API gives access to item price and availability in real-time. Item id needs to be specified for doing a lookup. Response type returned is full response.
Example Queries
Lookup for item id 12417832, JSON Response
http://api.walmartlabs.com/v1/items/12417832?apiKey={apiKey}&lsPublisherId={Your LinkShare Publisher Id}&format=json
Lookup by UPC “035000521019”:
http://api.walmartlabs.com/v1/items?apiKey={apiKey}&upc=035000521019
Lookup for mutiple item ids 12417832,19336123 (supports upto 20 items in one call):
http://api.walmartlabs.com/v1/items?ids=12417832,19336123&apiKey={apiKey}&lsPublisherId={Your LinkShare Publisher Id}
Formats
xml, json
Query Parameters
Param Name | Description | Required/Optional |
---|---|---|
apiKey | Your API access key. | Required |
lsPublisherId | Your LinkShare Publisher Id | Optional |
format | Type of response required, allowed values [json, xml]. Default is json. | Optional |
ids | Comma separated list of item ids | Optional |
upc | upc of the item | Optional |
To play with the API, please checkout the I/O Docs.
Response
Lookup API returns the Full Response. Response types are covered in the Item Response Groups section.