Search

deleteCustomerProfessional

Delete a customer’s “professional”.

“Professionals” are a specific one-to-many, one-way relationship between customers. A customer can have zero or more “professionals”, each one of which is a customer in itself, and one of which can be the “default professional”.

To see a list of a customer’s “professionals”, see getCustomers and pass the flag getAssociationsAndProfessionals = 1. API will also return the IDs of these links.

With deleteCustomerProfessional, you can delete the link between two customers, so that one ceases to be a “professional” for the other one.

To create a new link between two customers, see API call saveCustomerProfessional.

An identical feature is “customer’s associations”. See saveCustomerAssociation and deleteCustomerAssociation.

Input parameters

Parameter nameDescriptionPossible valueRequired
relationshipIDsA comma-separated list of relationship IDs to be deleted.String (comma-separated list of integers) yes

Response

Field nameTypeDescription
deletedIDsStringComma-separated list of relationship IDs that were found and successfully deleted.
nonExistingIDsStringComma-separated list of relationship IDs that were not found.