コンタクト管理

Brevo APIを使用してコンタクトを作成、更新、整理します。

コンタクトを作成

const contact = {
attributes: {
FIRSTNAME: "John",
LASTNAME: "Doe",
SMS: "+1234567890"
},
listIds: [1, 2]
};
brevo.contacts.createContact(contact);

コンタクトを更新

const updates = {
attributes: {
FIRSTNAME: "Jane"
}
};
brevo.contacts.updateContact("[email protected]", updates);

機能

  • コンタクトの作成と更新
  • リスト管理
  • カスタム属性
  • コンタクトセグメンテーション
  • インポート/エクスポート機能