Как узнать индексируется ли SCU по запросу? #42
Zeazurus
started this conversation in
Предложения
Replies: 1 comment 4 replies
-
Вопрос предельно понятен. Функционала такого нет. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
С помощью WBPrivateAPI.search() и WBCatalog.getPosition() можно получить текущую позицию SCU по запросу. Но не всегда артикул находится в диапазоне, который может быть получен. В конечном счете мы получаем -1, даже если нас по этому запросу можно найти. Это понятно, функция выполняет то, что должна, не больше.
А можно как-нибудь получить WBCatalog, но отфильтрованный по бренду или продавцу, чтобы уже в нем можно было посмотреть, есть ли мы по запросу или нет? Я смотрел в сторону WBPrivateAPI.searchCustomFilters, но он возвращает только общее число товаров и конкретный SCU невозможно отследить.
Beta Was this translation helpful? Give feedback.
All reactions