Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
en:sidebar:remoteapi:apiref:account:update_plan [30/01/2013 14:03] zuve |
en:sidebar:remoteapi:apiref:account:update_plan [29/11/2013 13:31] (current) |
====== Change billing plan ====== | ====== Change billing plan ====== |
| |
To assign biiling plan use command **account/update_plan**: | To set a billing plan, use the command **account/update_plan**: |
| |
<code javascript> | <code javascript> |
</code> | </code> |
| |
:!: //Attention!//\\ To assign billing plans current user must have access rights of type: account management (see [[../core/check_items_billing#Resources| Access flags: Resources]]) upon specified accoun, also current user must be direct or inderect parent of specified account. | :!: //Attention!//\\ To assign a billing plan to an account, the current user must have the right to manage this account (see [[../core/check_items_billing#Resources| Access flags: Resources]]). Besides, the current user must be a direct or indirect parent of the account. |
| |
===== Parameters ===== | ===== Parameters ===== |
^ Name ^ Description ^ | ^ Name ^ Description ^ |
| itemId | resource(account) ID | | | itemId | resource (account) ID | |
| plan | billing plan name | | | plan | billing plan name | |
| |