createContact( )


Creates a new contact.

について createContact() function returns a Promise that resolves to the new contact when it is created.

について インフォメーション parameter object must include a name, phone number, or email address. If all 3 of these parameters are missing, the contact won't be created.

By default, if the call contains an email already in use by another contact, the new contact won't be created. To override this behavior, set allowDuplicates in the options object to 真の.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Members and Contacts - all permissions
Manage Contacts
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
infoContactInfoRequired

Contact info.


optionsCreateContactOptions

Create contact options.

リターン
Return Type:Promise<CreateContactResponse>
役に立ちましたか?
はい
いいえ