Amazon

FREEMIUM
Door Gautruche | Bijgewerkt 5 months ago | eCommerce
Populariteit

9.8 / 10

Latency

5,094ms

Serviceniveau

76%

Terug naar alle discussies

Queries about Today's Deal API

avatar
CalvinTp
4 months ago

Hi,
Thanks for the awesome API.

I have some queries about “/api/todaydeals”.

  1. What is the difference between the data returned under “product_doc” object and “deal_doc” object?

  2. Under “product_doc” object, this API returned about 46 elements. The data is duplicated after a certain number of elements such as 23. The 1st elements is duplicated in element number 23, and the 2nd elements is duplicated in element number 24, and so forth. The same goes under “deal_doc”, where the 2nd half of the data is duplicated from the 1st half. Is this expected, if yes I can filter the data at the receiving side?

Thanks.

avatar
CalvinTp commented 3 months ago

Nice! Just tested it out, and it works flawlessly. Thanks.

avatar
b2g.corporation commented 3 months ago

Hi,

New version deployed, now you can indicated to the API the URL of deal_details_url thanks to the new query parameter “url”.

Best regards,

avatar
CalvinTp commented 4 months ago

Hi,
Got it, thanks for the explanations.

It is great to hear you are constantly enhancing this API and looking forward for the enhancements.

Thanks!!

avatar
b2g.corporation commented 4 months ago

Hi Calvin,

Product_doc is the solo products detected in the deals page, whereas the deal_doc is another deals page that proposes a product list.
I’m implementing a solution to propose you return the products from deal_doc.

Best,

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen
Beoordeling: 4.7 - Stemmen: 3