Graqr / Threshr

real-time grocery query java library
GNU General Public License v3.0
1 stars 2 forks source link

add support for plp query endpoint #128

Open Jonathan-Zollinger opened 3 weeks ago

Jonathan-Zollinger commented 3 weeks ago

Summary

the plp query supports multiple products at one time, thus this is a vital part of mass data consumption

Proposed Solution

support new endpoint in the controller class, like the pdp query and product summary endpoints

Alternative

no other alternative is offered rn.

Requirements

Additional Context

sample query can be found by navigating to a category page like nuts, then filtering the network tab in dev tools by plp.

per firefox, the params are:

key=***
category=tc851
channel=WEB
count=24
default_purchasability_filter=true
include_dmc_dmr=true
member_id=***
new_search=false
offset=0
page=%2Fc%2Ftc851
platform=desktop
pricing_store_id=***
scheduled_delivery_store_id=***
spellcheck=true
store_ids=***%2C***%2C***%2C***%2C***
useragent=Mozilla%2F5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%3B+rv%3A127.0%29+Gecko%2F20100101+Firefox%2F127.0
visitor_id=***
zip=***

it'd be useful to support categories and their tcin in the silo schema

Code of Conduct