bulk-match a bill of materials against multiple distributors' pricing and availability using supmultimatch

domain: nexar.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate via client-credentials flow to https://identity.nexar.com/connect/token for a supply.domain-scoped bearer token.
  2. Build one GraphQL request to https://api.nexar.com/graphql using supMultiMatch(queries: [{mpn:"<mpn1>"}, {mpn:"<mpn2>"}, ...]) — each array entry is one BOM line item requiring an exact MPN (or sku) match.
  3. Request sellers { company { name } offers { inventoryLevel prices { quantity price currency } factoryLeadDays moq } } per part to aggregate availability/pricing across every distributor carrying each line item.
  4. Add options: { requireStockAvailable: true, filters: { distributor_id: [...] } } to restrict to specific/preferred distributors with confirmed stock.
  5. Keep total requested parts per supMultiMatch call to 100 or fewer; split larger BOMs into multiple batched calls.
  6. Chunk remaining BOM lines across additional supMultiMatch requests, tracking each returned part against the monthly part limit.

Known gotchas

Related routes

Handle weighted-item (catch-weight) pricing adjustments in a grocery delivery order fulfillment flow
docs.instacart.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans