Convert a lead
Writes the lead into an account, a contact and an opportunity in one step. Needs all three objects available, and refuses a caller whose field access is narrowed anywhere.
/api/v1/objects/{objectId}/records/{recordId}/actions/convertAuthorizationOAuth2 アクセストークン · header必須Authorization-code grant with PKCE. Clients are public and hold no secret. Discovery is published at /.well-known/oauth-authorization-server/api/auth.
api.accessobjectIdstring必須An object's id
recordIdstring必須A record's id
Idempotency-Keystring必須Replays the first answer for a repeated request
application/jsonaccountobject必須プロパティを表示プロパティを非表示
idstringmodestring必須newexistingnamestringacknowledgedMatchesbooleancontactobject必須プロパティを表示プロパティを非表示
firstNamestringidstringlastNamestringmodestring必須newexistingskipopportunityobject必須プロパティを表示プロパティを非表示
amountstringcloseDatestring<date>createbooleannamestringstagestring01-商談見極め02-課題の合意03-担当者合意04-決裁者合意05-価格とスケジュール合意06-契約手続き中07-ペンディング(事務手続きのやり取り)08-受注09-失注The records the conversion wrote
accountIdstring必須contactIdstring | null必須プロパティを表示プロパティを非表示
stringnullopportunityIdstring | null必須プロパティを表示プロパティを非表示
stringnullunmappedstring[]必須The request body, query or parameters were refused
codestring必須invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstringThe access token is missing, invalid or revoked
errorstring必須The tenant's module is off, or the token's scope or the member's role does not permit the action
codestring必須invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstringNo such record, or none the caller may read
codestring必須invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstringThe operation conflicts with the current state
codestring必須invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstringThe request exceeds the route's body limit
errorstring必須An unexpected failure
errorstring必須