API

Calculate push notification cost

POST/api/crm/v2/push_notifications.price_calculatev2
operationId: pushNotifications.priceCalculate

Calculates the cost of a push notification campaign. The number of devices in each branch is multiplied by the price per push notification, taking into account the branch's special days and the free period of the unlimited plan. If the result is less than the minimum notification amount, it is increased to this minimum.

Authorization

api-token + language + role

Request body application/json

object
branch_idoneOfrequired

Example: 8785

One of the options
integer
date_sendingstring

Example: 10:41 09/07/2024

date_last_order_fromstring

Example: 09/07/2024

date_last_order_tostring

Example: 10/07/2024

date_of_birth_fromstring

Example: 09/07

date_of_birth_tostring

Example: 10/07

genderstring (Gender)

Values:womanman

Example: man

payboolean

Paid notification

Example: true

platformstring (Platform)

Values:androidiosallmobile_appssitesocial_apps

Example: all

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

datanumberrequired

Example: 6