Skip to main content

Get Message Thread

GET 

/api/supplier-portal/messages/:purchaseOrder

One purchase order as a conversation, with the same fields as a List Message Threads row. Works for an order nobody has written about yet (message_count 0, last_message null), so a new conversation can start from any order the supplier can see.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Authentication: supplier-portal bearer token. Scoped to the signed-in user's supplier; another supplier's purchase order returns 404.

Request​

Responses​

OK

Response Headers
    Content-Type