[NEWS] Serwisy zagraniczne Allegro - dodaliśmy nowe parametry wyszukiwania na liście ofert / Allegro foreign marketplaces - we have added new query parameters to the offers search
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 244
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Aby umożliwić przeszukiwanie ofert dostępnych w Allegro na różnych rynkach, wdrożyliśmy nowe parametry wyszukiwania dla [GET /offers/listing](https://developer.allegro.pl/documentation#operation/getListing).
**Jakie nowe parametry wprowadziliśmy?**
Nowe parametry to:
- **marketplaceId** - pobierz oferty widoczne na wskazanym rynku, domyślnie przeszukujemy allegro-pl,
- **shipping.country** - kraj dostawy, wartość domyślna jest zależna od przeszukiwanego rynku,
- **currency** - waluta ceny oferty, wartość domyślna zależy od przeszukiwanego rynku.
**W jakim języku zwrócimy wyniki?**
Zmieniliśmy także sposób działania nagłówka **Accept-Language** dla listy ofert. Dotychczas domyślnie zwracaliśmy listę ofert w języku polskim. Aktualnie, domyślna wartość zależeć będzie od wartości przekazanej w parametrze **marketplaceId**. Jeżeli nie przekażesz żadnej wartości w parametrze **marketplaceId** - tak jak dotychczas, domyślnie zwrócimy wynik dla allegro.pl w języku polskim. Jeżeli w **Accept-Language** przekażesz wartość nieobsługiwaną na danym rynku - zwrócimy listę w języku domyślnym dla danego marketplace.
Dostępne rynki, kraje dostawy oraz waluty dla poszczególnych rynków sprawdzisz za pomocą [GET /marketplaces](https://developer.allegro.pl/documentation#operation/marketplacesGET).
-----
To make it possible to search listings available on Allegro in different marketplaces, we have implemented new search parameters for [GET /offers/listing](https://developer.allegro.pl/documentation#operation/getListing).
**What new parameters have we introduced?**
The new parameters are:
- **marketplaceId** - retrieve offers visible on the indicated marketplace, by default we search allegro-pl,
- **shipping.country** - country of delivery, the default value depends on the searched marketplace,
- **currency** - currency of the offer price, the default value depends on the searched marketplace.
**In what language will we return the results?**
We have also changed the way the **Accept-Language** header for the offer search works. Previously, we returned the list of offers in Polish by default. Currently, the default value will depend on the value passed in the **marketplaceId** parameter. If you do not pass any value in the **marketplaceId** parameter - as before, we will return the result for allegro.pl in Polish by default. If you pass in **Accept-Language** a value that is not supported in the marketplace - we will return the listing in the default language for the marketplace.
You can check the available marketplaces, delivery countries and currencies for each marketplace using [GET /marketplaces](https://developer.allegro.pl/documentation#operation/marketplacesGET).
You can read more about offers search in [our guide](https://developer.allegro.pl/tutorials/jak-wyszukiwac-przegladac-oferty-ZM9YAKAwgfk).
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.