Skip to main content

Get New Purchase Order Count

GET 

/api/supplier-portal/purchase-orders/new-count

How many purchase orders are new for the signed-in supplier: open, with at least one line to supply, and not yet opened in the portal, answered, shipped or received. Drives the Purchase Orders badge in the sidebar; opening a purchase order takes it out of the count.

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. Counts only the signed-in user's supplier.

Request​

Responses​

OK

Response Headers
    Content-Type