Amazon

免费增值
通过 Gautruche | 已更新 il y a 3 mois | eCommerce
人气

9.8 / 10

延迟

6,127ms

服务等级

99%

返回所有讨论

Queries about Today's Deal API

avatar
CalvinTp
il y a 2 mois

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 il y a 2 mois

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

avatar
b2g.corporation commented il y a 2 mois

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 il y a 2 mois

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 il y a 2 mois

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,

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:4.5 - 投票:2