Create a new person relationship for a profileAsk AIpost https://api.cloudbeds.com/group-profile/v1/profiles/{profileId}/personsCreate a relationship between this profile and a person/guestPath ParamsprofileIdint64requiredEntity IDBody ParamspersonIdint64requiredID of the person/guest to link topersonTypestringenumrequiredType of personsCONTACTGUESTAllowed:CONTACTGUESTrelationshipTypestringenumType of relationship between person and profilePRIMARYEMPLOYEEBOOKED_BYPART_OF_GROUPCONTACTGUESTDECISION_MAKERTRAVELERPRIMARYSECONDARYBILLING_CONTACTEMERGENCY_CONTACTShow 11 enum valuesisMainContactbooleanWhether this person is the main contact (applicable for CONTACT person type)truefalsestartDatedateStart date of the relationship (defaults to today)endDatedateEnd date of the relationship (null for indefinite)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 valuesmetadataobjectAdditional relationship metadatametadata objectHeadersx-property-idint64Property IDx-organization-idint64requiredOrganization IDResponses 201Person relationship created successfully 400Bad request 401Unauthorized 403Forbidden 404Profile not found 422Unprocessable EntityUpdated 4 months ago