allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
217 stars 39 forks source link

Getting categories in other languages #9926

Open hoszke opened 2 months ago

hoszke commented 2 months ago

I am using endpoint to getting categories: https://api.allegro.pl.allegrosandbox.pl/sale/categories

By default it downloads in polish. How can I download it in other languages (english, or other available languages)?

PrzemyslawLukanowski commented 2 months ago

Yes, it is possible, just add an Accept-Language header in your request and provide one of the supported values: en-US, cs-CZ, sk-SK.

hoszke commented 2 months ago

Thanks! Is it known, that how often it changes? Is it possible to get the modified categories after specified timestamp?

PrzemyslawLukanowski commented 2 months ago

You can track category changes using GET /sale/category-events. There's no single rule for changes so the frequency of changes may vary. There's no possibility to get categories after a specified timestamp, you can only use the "from" parameter, thanks to which you will get changes from specific event.

stale[bot] commented 1 month ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.