allegro / allegro-api

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

MultipleProductsFoundException in Books #7580

Closed Marek-ShopStore closed 1 year ago

Marek-ShopStore commented 1 year ago

Hello,

we have problem with listing in category books.

Quite often we get response from API: MultipleProductsFoundException

When we search for product using https://developer.allegro.pl/documentation#operation/getSaleProducts We get reply and there is same product just listed multiple times. They differ in number of parameters set but they are same products. When we fill our parameters it 1) will still not list product and return MultipleProductsFoundException 2) say our parameters differ from listed product

See for yourself product with EAN/ISBN 9788075551429

It's quite large amount of products (thousands)

What shall we do?

Thanks

MaciejFrackowiak commented 1 year ago

Yes, it is possible that our product base has a few items with the same GTIN/EAN/ISBN code. For example, with the provided ISBN=9788075551429 there are three products - and you as a seller should choose the most suitable for you.

Marek-ShopStore commented 1 year ago

Well, in reality those are not 3 products, it's exactly same product - the book was printed only once and all 3 product you have in your product base are in fact duplicates therefore we can't algorithmicaly decide which one to use. So from what I know so far it's OK to use any of them and you will sometime in future delete duplicates and merge them into one product?

MaciejFrackowiak commented 1 year ago

Yes, they can be merged into one product in the future. However, that process is outside the API scope, so I can't predict when it will eventually happen.

stale[bot] commented 1 year 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.