AddUser

Adding a new user.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. username (string)
  4. Required. Username (email).

  5. password (string)
  6. Required. Password.

  7. is_active (integer)
  8. Active.

  9. is_super_admin (integer)
  10. Super administrator.

  11. wholesale (string)
  12. Wholesale customer. Accepts digits:

    • 0 - no wholesale group
    • 1 - wholesale group A
    • 2 - wholesale group B
    • 3 - wholesale group C

Output data

  1. id (integer)
  2. Identifier of the created user.