labelContact( )


Adds labels to a contact.

について labelContact() function returns a Promise that resolves when the specified labels are added to the contact.

  • To create new labels: Use findOrCreateLabel().
  • To find labels: Use findOrCreateLabel(), getLabel(), or queryLabels().
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.
メソッド宣言
コピー
メソッド・パラメータ
contactIdstringRequired

ID of the contact to add labels to.


labelKeysArray<string>Required

List of label keys to add to the contact.

Label keys must exist to be added to the contact. Contact labels can be created with the findOrCreateLabel() function. You can use the queryLabels() function to view the currently existing labels.

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