Changes between Version 7 and Version 8 of control-panel/alternative-interfaces


Ignore:
Timestamp:
Feb 14, 2018, 2:58:54 PM (20 months ago)
Author:
takethestreets
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • control-panel/alternative-interfaces

    v7 v8  
    4848 * set:user_account_login=jamie
    4949 * set:user_account_password="secretPass0rd"
     50
     51Updating a record uses the same parameters as the "insert" action, but you must also pass an item_id.  For instance, to change a user's password:
     52
     53 * action=update
     54 * object=item
     55 * where:item_id=54321
     56 * set:service_id=1
     57 * set:hosting_order_id=1
     58 * set:user_account_login=jamie
     59 * set:user_account_password="newPass0rd"
    5060
    5161If you weren't sure what hosting_order_id to use (perhaps you are writing a script that first creates the hosting order so you don't know before hand what ID it will get), you can use the sub option: