Kontakt anlegen

Füge neue Kund:innen mit Informationen zum Loyalty-Programm und eigenen Attributen für personalisiertes Engagement in deine Brevo-Kontaktdatenbank ein.

Schnellstart

Grundlegendes Anlegen eines Kontakts

POST https://api.brevo.com/v3/contacts
Content-Type: application/json
api-key: YOUR_API_KEY
{
"email": "[email protected]",
"attributes": {
"FIRSTNAME": "John",
"LASTNAME": "Doe",
"LOYALTY_POINTS": 1500,
"LOYALTY_TIER": "Gold",
"SIGNUP_DATE": "2024-01-15",
"LAST_PURCHASE": "2024-01-20",
"TOTAL_SPENT": 299.99
},
"listIds": [1, 2],
"updateEnabled": true
}

Antwort

{
"id": 123456
}

Integration ins Loyalty-Programm

Neue Kund:in mit Loyalty-Attributen

{
"email": "[email protected]",
"attributes": {
"FIRSTNAME": "Sarah",
"LASTNAME": "Johnson",
"PHONE": "+1234567890",
"LOYALTY_ID": "LYL-2024-001",
"LOYALTY_POINTS": 0,
"LOYALTY_TIER": "Bronze",
"PREFERRED_REWARDS": "Discounts",
"BIRTHDAY": "1990-05-15",
"SIGNUP_SOURCE": "Website",
"REFERRAL_CODE": "REF-12345",
"COMMUNICATION_PREFERENCES": "Email,SMS",
"PURCHASE_CATEGORIES": ["Electronics", "Fashion"],
"AVERAGE_ORDER_VALUE": 0
},
"listIds": [1], // Liste für Neukund:innen
"emailBlacklisted": false,
"smsBlacklisted": false,
"updateEnabled": true
}

Bestandskund:in aktualisieren

{
"email": "[email protected]",
"attributes": {
"LOYALTY_POINTS": 2500,
"LOYALTY_TIER": "Platinum",
"LAST_PURCHASE": "2024-01-25",
"TOTAL_SPENT": 1299.99,
"RECENT_PURCHASES": ["Product A", "Product B"],
"ENGAGEMENT_SCORE": 8.5,
"LAST_EMAIL_OPENED": "2024-01-24",
"PREFERRED_CONTACT_TIME": "Evening"
},
"listIds": [1, 3], // Zur Platinum-Kund:innen-Liste hinzufügen
"updateEnabled": true
}

Tajo-spezifische Attribute

Kund:innen-Loyalty-Daten

AttributnameTypBeschreibung
LOYALTY_IDStringEindeutige ID im Loyalty-Programm
LOYALTY_POINTSNumberAktueller Punktestand
LOYALTY_TIERStringAktuelle Stufe (Bronze, Silver, Gold, Platinum)
POINTS_EARNED_YTDNumberIn diesem Jahr gesammelte Punkte
POINTS_REDEEMED_YTDNumberIn diesem Jahr eingelöste Punkte
TIER_PROGRESSNumberFortschritt bis zur nächsten Stufe (%)
NEXT_TIER_POINTSNumberFür die nächste Stufe erforderliche Punkte

Kaufverhalten

AttributnameTypBeschreibung
TOTAL_SPENTNumberCustomer Lifetime Value
AVERAGE_ORDER_VALUENumberDurchschnittlicher Einkaufswert
PURCHASE_FREQUENCYStringWie häufig gekauft wird
LAST_PURCHASEDateDatum des letzten Einkaufs
FAVORITE_CATEGORIESArrayBevorzugte Produktkategorien
SEASONAL_BUYERBooleanKauft saisonal

Engagement-Metriken

AttributnameTypBeschreibung
ENGAGEMENT_SCORENumberEngagement-Bewertung (1–10)
EMAIL_OPEN_RATENumberPersönliche Öffnungsrate in %
CLICK_THROUGH_RATENumberPersönliche Klickrate in %
LAST_EMAIL_OPENEDDateLetzte E-Mail-Interaktion
PREFERRED_CHANNELStringE-Mail, SMS, WhatsApp

Kontakte im Batch anlegen

Mehrere Kontakte auf einmal anlegen:

{
"contacts": [
{
"email": "[email protected]",
"attributes": {
"FIRSTNAME": "Alice",
"LOYALTY_POINTS": 500,
"LOYALTY_TIER": "Bronze"
}
},
{
"email": "[email protected]",
"attributes": {
"FIRSTNAME": "Bob",
"LOYALTY_POINTS": 1200,
"LOYALTY_TIER": "Silver"
}
}
],
"listIds": [1],
"updateEnabled": true
}

Fehlerbehandlung

Häufige Fehler und Lösungen:

{
"code": "duplicate_parameter",
"message": "Kontakt existiert bereits",
"details": {
"email": "[email protected]",
"existingId": 123456
}
}
{
"code": "invalid_parameter",
"message": "Ungültige Listen-ID",
"details": {
"listIds": [999]
}
}

Best Practices für Tajo

  1. Immer die zentralen Loyalty-Felder einbeziehen: LOYALTY_POINTS, LOYALTY_TIER, LOYALTY_ID
  2. Updates aktivieren: Aktualisierungen bestehender Kontakte zulassen
  3. Segmentierungslisten nutzen: Nach Stufe, Verhalten, Präferenzen organisieren
  4. Engagement verfolgen: E-Mail-/SMS-Interaktionsraten beobachten
  5. Regelmäßige Datensynchronisation: Loyalty-Daten mit deinem System aktuell halten

Nächste Schritte

AI-Assistent

Hallo! Fragen Sie mich alles über die Dokumentation.

Kostenlos mit Brevo starten