UpdateUser

Updating a user with the given identifier.

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

Input parameters

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

  3. id (integer)
  4. Required. Identifier.

  5. username (string)
  6. Username (email).

  7. password (string)
  8. Password.

  9. is_active (integer)
  10. Active.

  11. is_super_admin (integer)
  12. Super administrator.

  13. wholesale (string)
  14. Wholesale customer. Accepts digits:

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

  15. discount (double)
  16. Overall discount.

Output data

  1. _update (boolean)
  2. Update status.