v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131541,3491.5 MB
customers

Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager, for example: 1. Update operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE (new manager). List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

post/v23/customers/{+customerId}/customerManagerLinks:moveManagerLink

Path parameters

customerIdstring required

Required. The ID of the client customer that is being moved.

Request body

validateOnlyboolean

If true, the request is validated but not executed. Only errors are returned, not results.

newManagerstring

Required. The resource name of the new manager customer that the client wants to move to. Customer resource names have the format: "customers/{customer_id}"

previousCustomerManagerLinkstring

Required. The resource name of the previous CustomerManagerLink. The resource name has the form: customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}

Response

Successful response