/johnlewis/products/search

POST /api/johnlewis/products/search

Price: 20 credits

Search John Lewis products by keyword. Returns product cards with id, title, brand, price, list_price (when discounted), rating, review count, images, colour swatches and the canonical product URL. Supports result ordering by relevance, price, newness, popularity or discount; keywords that list a product range (for example sofa) support relevance, priceLow and priceHigh and return 422 for other sorts.

How to use it

Keyword search across the John Lewis catalogue (UK). Each result has id (numeric product id), title, brand, url, image (main), images (gallery), price (current GBP), list_price (former price when discounted), currency, rating (1-5), review_count, default_sku_id, is_out_of_stock, is_available_to_order, and color_swatches [{color, sku_id, image, url, is_available}] for products with colour variants. Use sort to order results: relevance (default), priceLow, priceHigh, new, popularity, discount; new, popularity and discount apply to product-grid keywords, while range keywords (for example sofa, armchair) accept only relevance, priceLow, priceHigh and return 422 otherwise. Call johnlewis/products with each id for full per-product details.

Parameters

Request body

Response

Errors

Response headers