Invite a vendor to their portal
Generates a fresh password for the vendor's portal account, emails them an invite with it, and stamps lastPortalInvite. The new password is also returned to you. A vendor with no email address cannot be invited. Requires the vendors:write permission.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
vendorIdstringrequiredThe vendor to act on. A Snowflake id, sent as a decimal string.
example: 1826110384726355968
Response
200 · The invite was sent.
newPasswordstringrequiredThe password that was generated and emailed to the vendor. Any password they had before no longer works.