Update to new billa.at online store
devmbm opened this issue · 5 comments
Billa.at was updated sometime last week (KW41) which has caused all price tracking and links to be broken. Unique URLs in the new store no longer match the previous one.
Hey, do we know the exact changes?
As I see billa:
- no API that allows to request all products at once (at least not "full")
- maximum of 1000 results can returned back on searches
- one letter searches are still possible
- Category connection might be harder
any other thoughts?
I would probably go through the alphabet and do searches for each letter and map the products by ID to have a final list in the end. Maybe for the more common letters I would search for more than 1000 entries via pagination.
I cannot say, sorry, I am not a developer myself. But my observation is that items seem to be named the same as before.
Category Search:
https://shop.billa.at/api/categories/search/e?storeId=00-10
Product Search:
https://shop.billa.at/api/products/search/e?storeId=00-10
The billa products where taken from the product list itself I think, the search per category could also work:
Category search can be done via category slug provided in the category search result:
api/categories/[slug]/products
Example:
https://shop.billa.at/api/categories/aepfel-birnen-und-trauben-13753/products?page=0&sortBy=relevance&pageSize=24&storeId=00-10