/onlinetrade/products/search

POST /api/onlinetrade/products/search

Price: 1 credit

Search the ONLINE TRADE.RU (onlinetrade.ru) catalogue by keyword for a named Russian city and return product cards with the current price in roubles, the pre-discount price where the product is discounted, the ON-bonus amount, whether the product can be bought right now, the customer rating and its vote count, the manufacturer code, the category the product sits in with its category path, the product image and the canonical product URL. Orders by popularity, price, novelty, title or number of reviews.

How to use it

`city` changes the answer rather than its presentation: onlinetrade prices the same product differently by city, and each card carries the city its price belongs to — compare prices only within one city. An unknown city name is rejected rather than silently answered in Москва. `item_id` is the identifier onlinetrade/products accepts; the other number on the site, the one in its basket and compare links, is a different id space and does not resolve. Search cards carry the manufacturer code and the category path but no gallery images or colour and memory variants — call onlinetrade/products for those and for specifications, description, warranty and delivery. To walk a whole category exhaustively use onlinetrade/categories/products, which also takes brand, price, availability and rating filters; search itself takes none of them, because onlinetrade's search handler ignores them.

Parameters

Request body

Response

Errors

Response headers