Get Home Page
GET/api/portal/home
Get the signed-in buyer's Home page.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
- announcements: the merchant's live announcements (at most 3, in the merchant's order).
body_htmlis the Markdown body rendered to sanitised HTML. Useid+updated_atto remember a dismissal;pinnedones cannot be dismissed. - stats:
open_orders(not shipped, complete or cancelled),quotes_awaiting(sent and not yet accepted, declined or expired),approvals_waiting(orders waiting on this buyer's approval) andoutstanding_balance(amount,currency,overdue_count). A null stat does not apply to this buyer — for exampleapprovals_waitingwhen the buyer cannot approve, oroutstanding_balancewhen the account has never been invoiced. 0 means it applies and is empty. - featured: the section
titleand the featured products this buyer's catalogs include, in the merchant's order, each in the same shape and at the same price as List Catalog Products. Products outside the buyer's catalogs or archived are left out. - recent_orders: the last 3 orders with buyer-facing
status;can_reorderis false for read-only buyers. - saved_lists: the 3 most recently updated saved lists with their
line_count.
Each section is loaded independently: if one fails it is returned as null and the rest still load. An account in preview gets announcements, featured products and quotes only — recent_orders and saved_lists are empty and the other stats are null.
Requires a portal buyer bearer token.
Request
Responses
- 200
- 401
- 403
- 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.
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.