create(…)

create(count, tariff_id, bonus_amount, free_days)

Create count activation codes with passed tariff_id, bonus_amount and free_days.
And return count of created codes.

parameters:

  • countint. count of codes to creation.
  • tariff_id – id of new tariff (have to belongs to current dealer)
  • bonus_amount – new bonus
  • free_days – new free period

required permissions:

  • activation_code: “read”, “create”

return:

{
    "success": true,
    "count": <int> // count of actually updated codes
}

errors:

  • 201 – Not found in database (when tariff with tariff_id not found for current dealer)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...