API

Push bildirimi ekle

POST/api/crm/v2/push_notifications.addv2
operationId: pushNotifications.add

Bir push bildirimi oluşturur. Hedef kitle, cinsiyet, doğum tarihi aralığı ve son sipariş tarihi aralığına göre daraltılır. Gönderim zamanı date_sending ile belirlenir; belirtilmezse bildirim hemen gönderilir. Ağ, aynı filtre setiyle günde en fazla 3 bildirim oluşturabilir.

Yetkilendirme

api-token + language + role

İstek gövdesi application/json

object
branch_idoneOfzorunlu

Örnek: 8793

Seçeneklerden biri
integer
genderstring (Gender)

Değerler:womanman

Örnek: man

platformstring (Platform) zorunlu

Değerler:androidiosallmobile_appssitesocial_apps

Örnek: all

titlestringzorunlu

Örnek: test_push

messagestringzorunlu

Örnek: my message

date_sendingstring

Örnek: 10:41 09/07/2024

date_of_birth_fromstring

Örnek: 09/07

date_of_birth_tostring

Örnek: 10/07

date_last_order_fromstring

Örnek: 09/07/2024

date_last_order_tostring

Örnek: 10/07/2024

Yanıtlar

OK

object
statusstringzorunlu

Değerler:successerror

Örnek: success

dataobject