This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:account:update_sub_plans [01/03/2013 12:45] zuve |
en:sidebar:remoteapi:apiref:account:update_sub_plans [14/04/2014 08:06] mast |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Subordinate billing plans ====== | ====== Subordinate billing plans ====== | ||
- | To assign subplans, use the command **account/update_sub_plans**: | + | To set the list of subplans, which current account can assign, use the command **account/update_sub_plans**: |
<code javascript> | <code javascript> | ||
Line 10: | Line 10: | ||
:!: //Attention!//\\ Current user can assign only available for him subordinate plans. 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. | :!: //Attention!//\\ Current user can assign only available for him subordinate plans. 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. | ||
+ | \\ This command is available to execute if the account already has dealer rights (you may use [[./update_dealer_rights|account/update_dealer_rights]] command). | ||
===== Parameters ===== | ===== Parameters ===== |
|