subscribeByMarker
Bir üründe bir olaya abone olun. 🔐 Bu yöntem yetkilendirme gerektirir.
Açıklama
Olaylar.subscribeByMarker(
marker*,
productId*,
langCode,
threshold
);
Parametreler şeması
Şema
marker:* string
Olay işareti
örnek: test_event
productId:* string
Ürün kimliği
örnek: 14
langCode: string
Dil kodu
örnek: en_US
threshold: number
Sayısal değeri karşılaştırmak için eşik değeri
örnek: 0
Örnekler
Minimal örnek
const response = await Events.subscribeByMarker('test_event', 1, 1);
Özelliklerle örnek
const response = await Events.subscribeByMarker('test_event', 1, 1, 'en_US', 0);
Abonelik başarılıysa hiçbir şey döndürmez.