Sephora

फ्रीमियम
द्वारा Api Dojo | अपडेट किया गया il y a 14 jours | eCommerce
लोकप्रियता

9.5 / 10

लेटेंसी

4,153ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

No of reviews

Rapid account: Nnguyen 2021
nnguyen2021
il y a 2 ans

Hi API team,

How can I make the query return more than 100 reviews? Even when i set the ‘limit’ parameter to above 100, the ‘TotalResults’ attribute is still 101. Can you please walk me through this? Thank you 😃

Rapid account: Apidojo
apidojo Commented il y a 2 ans

Well,

You should check the response data CAREFULLY. The P454378 has TotalResults being 43, there is no second page (with 60 as limit) of course. https://prnt.sc/23sr9pq. Please check everything before asking something silly.

Regards

Rapid account: Nnguyen 2021
nnguyen2021 Commented il y a 2 ans

Thank you for the prompt reponse.

For the first 60 reviews, I did: params: {ProductId: ‘P454378’, Limit: ‘60’, Offset: ‘0’}

And for the next 60 reviews, I tried: params: {ProductId: ‘P454378’, Limit: ‘60’, Offset: ‘60’}

However, it didnt work and the second query returned 0 results. Did I do this wrong?

Thanks,

Rapid account: Apidojo
apidojo Commented il y a 2 ans

Hello,

Every applications always have paging feature in the listing page. The limitation is fixed on the server side. You cannot change it.

Regards.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें