Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Products, stores and categories answer XML unless format=json is passed; recommendations and open box are JSON only.
- Search expressions go inside parentheses in the path: products(search=oven&salePrice<500), with & for AND, | for OR, in(a,b) and trailing * wildcards. Attribute names are case-sensitive.
- Past 10 pages use cursorMark=* and then the returned nextCursorMark instead of page.
- A 403 means a bad key or the call quota is exceeded; prefer one in(…) query over many single lookups to avoid per-second errors.
- Links in responses (url, addToCartUrl) expire after seven days.
Endpoints
Search products
Get a product
Get in-store availability
Find stores
Find categories
Get trending products
Get most-viewed products
Get products also viewed
Get open-box offers for a SKU
- Beta API. No offers is a 200 with an empty result.