I am trying to create accounts for my customers using the API, and would like each customer to have their own manager account underneath my root MCC.
When I use ManagedCustomerService to create the account, .canManageAccounts is always false, and the documentation says it is ignored when sent to the API. Of course the documentation doesn't mention any way to set this value to true or if its possible or not.
If I try to use a MoveOperation to move a child account under a customer manager account, i get error ManagedCustomerServiceError.NOT_MANAGER
Private Sub LinkAccounts(ByRef ParentAcctId As Int64, ByRef ChildAcctId As Int64, ByRef CustomerService As ManagedCustomerService)
Dim moveOp As MoveOperation = New MoveOperation()
moveOp.oldManagerCustomerId = RootMCCId 'This is my root MCC acct id
moveOp.operator = [Operator].SET
Dim link As ManagedCustomerLink = New ManagedCustomerLink()
link.clientCustomerId = ChildAcctId
link.linkStatus = LinkStatus.ACTIVE
link.managerCustomerId = ParentAcctId
moveOp.operand = link
Dim operations() As MoveOperation = {moveOp}
CustomerService.mutateManager(operations)
End Sub
How is this supposed to work? There is support for hierarchy and getting links between accounts, but i can't add them?