Get Dealer View (What this dealer sees)
GET/api/admin/portal/accounts/:customer/dealer-view
"What this dealer sees" — the dealer hub panel at the top of Portal → Accounts → <dealer>. Read-only. Resolves every portal setting the way the portal does and says where it comes from: pricing tier (source: account | tenant_default); each assigned catalog — or the Default catalog the account follows when it has none (uses_default_catalog, via_default) — with product count, rule summary, in-stock order-value ladder, this account's override (null = catalog's, [] = off) and the one in effect, and the pre-order step (ladder, ship window, note); the tenant-wide special-order list; payment terms (credit_limit only when the term extends credit); account vs portal-default minimums; account discount and backorders; the sales-tax decision for the default ship-to plus the exemption per registered state; and the availability display. Requires portal.manage.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.