allegro / allegro-api

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

Recommended workflow for thousands of offers #10193

Open norbe opened 3 weeks ago

norbe commented 3 weeks ago

Hi,

I'm preparing implementation to our eshop system. There are thousands of offers (if we deside to publish all sortiment, it will be around 60 thousands of offers). Quantity can be changed multiple times per hour, also price can be changed from time to time....

What is recommended workflow for publication and update of offer in such quantity? I'm used to from mall,.cz that I just set some URL of XML feed that is processed every hour or so. Also alza trade has it very simle - there are 2 requests:

If I will have to make API call for each offer, I guess it will be very slow (maybe there are also some limits at number of API calls)... Why is there duration of offer? Is it automatically prolongs with offer update? Can I repunblish the offer after it ends? I think this part is not described at documentation very well...

Thanks

MaciejFrackowiak commented 3 weeks ago

Yes, we have a basic limit - 9000 requests per minute. And yes, you have to make a separate request for listing a single offer - POST /sale/product-offers. You can decide if an offer has to last without ending time or for a selected time ("publication.duration" field). Also, you can republish an offer - "publication.republish" field - all the necessary information is available in the resource specification.

stale[bot] commented 2 weeks 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.