23 / Docs Suite · 11

API reference card

Compact card showing method, path, request parameters, and a try-it CTA that opens the live sandbox console for the Mufflermen trade-account API.

Production answer

API reference card is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview API reference card states
Generative search brief

API reference card: Compact card showing method, path, request parameters, and a try-it CTA that opens the live sandbox console for the Mufflermen trade-account API.

Use case

Rendered inline inside the trade-account API docs. The try-it link opens the sandbox console with the endpoint pre-filled.

POST/v2/tokensTry in sandbox

Issue a scoped trade-account API token for a single supplier portal. The raw token is returned exactly once.

Parameters

3 total
NameTypeRequiredDescription
supplierstringRequiredSupplier slug. Must match a configured portal (magnaflow-anz, pacemaker, redback).
scopesstring[]RequiredAllowed scopes. Picks from stock.read, stock.write, orders.read, orders.write.
expires_atISO dateOptionalOptional expiry override. Defaults to 90 days from issue.
GET/v2/stock/streamTry in sandbox

Server-Sent Events stream of stock deltas for the active warehouse. Heartbeats every 15 seconds.

Parameters

2 total
NameTypeRequiredDescription
warehousestringRequiredWarehouse slug (oak-flats, dapto, kiama).
sinceISO dateOptionalOptional cursor — only emits deltas newer than this timestamp.