Pax8API/Public/Quoting/Get-Pax8QuotePreferences.ps1

<#
.SYNOPSIS
Get quote preferences
.DESCRIPTION
Returns quote preferences associated to the current user's partner account.
OpenAPI: GET /v2/quote-preferences
Scope: Quoting. Audience: https://api.pax8.com.
.PARAMETER Raw
Returns the unmodified API response instead of unwrapping paginated content.
.EXAMPLE
Get-Pax8QuotePreferences
.LINK
https://devx.pax8.com/openapi/quoting-endpoints.json
#>

function Get-Pax8QuotePreferences {
    [CmdletBinding()]
    param (
        [switch]$Raw
    )

    process {
        $boundParameters = @{}
        foreach ($entry in $PSBoundParameters.GetEnumerator()) {
            $boundParameters[$entry.Key] = $entry.Value
        }

        Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters
    }
}