Proje: Okul B2B App · Hub: Okul B2B App — Domain

Bildirim İzinleri Güncelleme

API Endpoint

PUT /customer/notification-permissions

Request:

{
  notifications: [
    { notification_id: 2484, enabled: true },   // SMS
    { notification_id: 2485, enabled: true },   // Email
    { notification_id: 2486, enabled: true },   // Çağrı
  ]
}

Permission ID’leri

IDTür
2484SMS
2485Mail
2486Telefon

Profil’den Erişim

NotificationSettingsModalNotificationService.updateNotificationPermissions({sms, mail, call})PUT /customer/notification-permissions

markAllAsRead

await NotificationService.markAllAsRead();
// POST /customer/notifications/mark-as-read
// body: { notification_ids: [] }  (boş array = tümünü işaretle)