add and manage items in a mouser cart via the cart api
domain: mouser.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Generate an API key from My Mouser account under Account > APIs and pass it as the apiKey query parameter on every call.
Call POST /api/v{version}/cart/items/insert with a JSON body listing one or more Mouser part numbers and quantities; if no cart key is supplied, a new cart key is created and returned.
Reuse the returned cart key on subsequent calls: GET /api/v{version}/cart to view contents, POST /api/v{version}/cart/items/update to change quantities, or POST /api/v{version}/cart/item/remove to remove a single item by Mouser part number.
To fully replace the cart, POST /api/v{version}/cart with the complete item list — any existing item omitted from the request is deleted.
Optionally schedule deliveries for cart items with POST /api/v{version}/cart/insert/schedule (update via /cart/update/schedule, clear via /cart/deleteall/schedule).
Pass the resulting cart key into the Order API's POST /api/v{version}/order endpoint to submit the cart as an order.
Known gotchas
Cart item quantity must be greater than zero on insert/update — you cannot zero out a quantity via items/update, use item/remove instead.
A full-cart POST to /api/v{version}/cart silently deletes any existing cart item not included in the request body — don't use it for partial updates.
A maximum of 100 cart items is allowed per request.
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?