Using theSupMultiMatch
query:
query MultiMatch { supMultiMatch( queries: [{mpn: "FH12-5S-1SH(55)", limit: 2}] options: {filters: {distributor_id: ["459", "1106", "2401", "2628", "2454", "3261", "12947"]}} ) { hits parts { mpn name sellers { company { name } offers { prices { price currency } } } } } }
Note this will filter for parts sold by the specified distributor(s). The list of distributors is available here. If other distributors also sell this part, they will be listed too. You can always filter these out in your processing if desired.
Instead of the company ID, e.g. "459", you can specify the company name, e.g. "Digi-Key", instead. Here's an example:
query MultiMatch { supMultiMatch( queries: [{mpn: "FH12-5S-1SH(55)", limit: 2}] options: {filters: {distributor_id: ["Digi-Key"]}} ) { hits parts { mpn name sellers { company { name } offers { prices { price currency } } } } } }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article