update_sub_plans
To set the list of subplans that the specified account can assign, use the account/update_sub_plans method:
svc=account/update_sub_plans¶ms={"itemId":<long>,
"plans":[<text>]}
Parameters
The request must contain the following parameters:
Parameter | Description |
---|---|
itemId | Resource (account) ID. |
plans | List of subplans. |
Response
If the plan is updated successfully, an empty object is returned.
Otherwise, the response contains error code 7, indicating that the user has no dealer rights.