customers

POST /v23/customers/{customersId}/customerManagerLinks:moveManagerLink

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

Request

Path parameters

customersIdstring required

Request body

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}

validateOnlyboolean

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

Response

Successful response

resourceNamestring

Returned for successful operations. Represents a CustomerManagerLink resource of the newly created link between client customer and new manager customer.

Changes

No recorded changes to this operation across all 4 revisions of this API.