authorize with OAuth 2.0 and place a roofing materials order via the ABC Supply API
domain: apidocs.abcsupply.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Choose the correct OAuth2 grant: Authorization Code (acting for a customer), Authorization Code + PKCE, or Client Credentials (aggregator or individual/business)
Redirect the user to https://auth.partners.abcsupply.com/oauth2/{authServerId}/v1/authorize with client_id, redirect_uri, and scopes such as order.write, pricing.read, and account.read
Exchange the returned authorization code for an access_token/refresh_token by POSTing to the /v1/token endpoint with Basic auth of client_id:client_secret
Resolve the Ship-To account and branch, then POST /prices to validate current per-branch, per-item pricing
Submit the order with POST /orders, including the Ship-To object (account number plus delivery name/address/contacts) and line items
Known gotchas
Access tokens last only 30 minutes; use the refresh_token (available on auth-code flows with offline_access scope) instead of re-running the full authorization redirect each time
Items can price at $0 if a branch hasn't finished configuring pricing yet — that's a valid response, not an error, but the branch should confirm pricing before the order ships
Orders for California branches or delivery addresses will be rejected if an item is missing Proposition 65 attribution — check item attributes before submitting to CA
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?