...
Example | xmlParameters value | Test request |
---|---|---|
Search by provider goods: Taobao, Tmall, 1688 | ||
Search by category: find in category Clothing «T-Shirt»otc-4, Taobao, 50000671 | ||
Search by characteristics: T-shirt, size XL, red color | ||
Search of first 100 goods in category/catalog or request: first 100 goods by request «red T-Shirt» | ||
Search by code: 534184932247 | ||
Search by key code: red women T-shirt | ||
Search by vendor: maxmartin玛玛绨旗舰店 | ||
Search in original language: 红色T恤 | ||
Search in website language:
| ||
Search by brand name: vero moda | ||
Search by English word (without translation to Chinese): 3D Vision | ||
Search in certain region: Guangzhou | ||
Goods search by vendor rating: and more | ||
Goods search with price limit: from 10 to 40 yuan | ||
Goods search with discount: goods with discount | ||
Auction goods search: goods from auction | ||
Goods search by sales volume: descending sales number | ||
Search by second-hand or new goods: only new goods | ||
Goods search by special feature: footwear - beach |
...
Search results are presented by OtapiItemSearchResult structure OtapiItemSearchResult, below description of its fields. Результаты поиска представлены структурой OtapiItemSearchResult, ниже описание её полей.fields description is shown below.
Параметр | Описание |
---|---|
Items | Список найденных товаров с указанием полного числа товаров |
Categories | Список категорий, в которых есть искомые товары (уточняющие товары) |
Brands | Список брендов, в которых встречаются товары (уточняющие бренды) |
TranslatedItemTitle | Текст, по которому реально искались товары (переведенный на язык провайдера) |
Provider | Товарный провайдер, в котором был произведен поиск |
SearchMethod | Способ поиска, которым был произведен поиск |
CurrentSort | Реальная текущая сортировка |
CurrentFrameSize | Реальный текущий размер фрейма (страницы) |
MaximumPageCount | Максимальное число страниц в поиске |
IsFoundByItemId | Если true, то в результатах поиска содержится 1 товар, который был найден по артикулу или ссылке |
Дополнительные блоки информации в BatchSearchItemsFrame
List of found goods with full number of goods | |
Categories | List of categories containing searched goods (clarifying goods) |
Brands | List of brands containing goods (clarifying brands) |
TranslatedItemTitle | Text by which goods were really searched (translated to provider language) |
Provider | Provider in which search was done |
SearchMethod | Search method used for search |
CurrentSort | Real current sorting |
CurrentFrameSize | Real current frame size (page) |
MaximumPageCount | Maximum number of pages in search |
IsFoundByItemId | If true, then search results contain 1 product found by code or link |
Additional blocks of information in BatchSearchItemsFrame
It is possible to get additional information for one OTAPI request using BatchSearchItemsFrame. List of additional blocks is available in blockList parameter separated by commas. Result is BatchItemSearchResult including usual OtapiItemSearchResult and also all properties for additional informationИспользуя метод BatchSearchItemsFrame, можно получить дополнительную информацию за тот же один запрос к OTAPI. Список дополнительных блоков передается в параметре blockList, через запятую. Результатом является BatchItemSearchResult, который включает в себя обычный OtapiItemSearchResult, а также все свойства для дополнительной информации.
Название блока | Описание |
---|---|
SubCategories | get all subcategories if search by category |
SearchProperties | get filters by characteristics/properties |
RootPath | get path to root if search by category |
Vendor | get information on seller if search by seller |
Brand | get information on brand if search by brand |
Category | get information on category of search by category |
HintCategories | get appropriate categories for title if search by text |
AvailableSearchMethods | get list of appropriate matching data for search methods parameters and all information on them |