Skip to main content
POST
Mint and email a supplier portal link

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

purchaseOrderId
integer
required

Purchase order ID

Body

application/json
contact_details_ids
integer[] | null

Limit delivery to these contacts. Omit to send to every contact on the supplier. A contact that does not belong to this purchase order's supplier is rejected — one contact row can belong to several suppliers, so the pair is validated rather than the id trusted.

Required range: x >= 1

Response

At least one link was sent.

success
string
Example:

"Portal link sent."

data
object