Public/Company/Contacts/Update-CWMCompanyContact.ps1

function Update-CWMCompanyContact {
    [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSShouldProcess', '', Justification = 'Used by sub-function')]
    [CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')]
    [Alias('Update-CWMContact')]
    param(
        [Parameter(Mandatory=$true)]
        [Alias('contactId')]
        [int]$id,
        [Parameter(Mandatory=$true)]
        [validateset('add','replace','remove')]
        [string]$Operation,
        [Parameter(Mandatory=$true)]
        [string]$Path,
        [Parameter(Mandatory=$true)]
        $Value
    )

    $Endpoint = "/company/contacts/$($id)"
    Invoke-CWMPatchMaster -Arguments $PsBoundParameters -Endpoint $Endpoint
}