Update contact person for a profile (group, company, or travel agent)Ask AIput https://api.cloudbeds.com/group-profile/v1/contact-persons/{contactPersonId}Path ParamscontactPersonIdint64requiredContact person IDBody ParamsanonymizedbooleanWhether the contact is anonymizedtruefalseprefixstringlength ≤ 5Name prefix (Mr., Mrs., Dr., etc.)firstNamestringlength ≤ 100First namelastNamestringlength ≤ 100Last nameemailsarray of objectsEmail addresses with typesemailsADD objectphonesarray of objectsPhone numbers with typesphonesADD objectstatusstringContact person status. Allowed values are ACTIVE, DELETEDbillingDetailsobjectBilling details for profiles and contact personsbillingDetails objectprofileIdint64Profile ID to update relationship for. Required when updating role, isMainContact, or relationshipType.rolestringenumRole of person in the profile relationshipBOOKING_COORDINATORBOOKING_COORDINATORONSITE_COORDINATORROOMING_LIST_CONTACTACCOUNTS_PAYABLEBILLINGINVOICINGACCOUNT_MANAGERSALES_LEADTRAVEL_AGENT_ACCOUNT_MANAGERCORPORATE_CONTACTAUTHORIZED_SIGNEREXECUTIVE_APPROVERMARKETINGMAIN_POINT_OF_CONTACTADMINISTRATIVEOTHERShow 16 enum valuesisMainContactbooleanWhether this person is the main contact for the profiletruefalserelationshipTypestringenumType of relationship between person and profilePRIMARYEMPLOYEEBOOKED_BYPART_OF_GROUPCONTACTGUESTDECISION_MAKERTRAVELERPRIMARYSECONDARYBILLING_CONTACTEMERGENCY_CONTACTShow 11 enum valuesHeadersx-property-idint64Property IDx-organization-idint64requiredOrganization IDResponses 200Contact person updated successfully 400Bad request 401Unauthorized 403Forbidden 404Contact person not found 422Unprocessable EntityUpdated 4 months ago