Subordinate billing plans

To set the list of subplans, which current account can assign, use the command account/update_sub_plans:


:!: 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 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 account/update_dealer_rights command).


Name Description
itemId resource (account) ID
plans list of subplans


{}	/* empty object if execution successful, if not - error code */

Error codes

Error code Possible reason
7 no dealer rights
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon   |   Copyright © 2002-2023 Gurtam