Pax8API/Public/Quoting/Update-Pax8LineItems.ps1
|
<#
.SYNOPSIS Update line items .DESCRIPTION Update line items within a specified quote.This api supports updating 1 or more at a time.Modifying relationships is not supported at this time. Delete and re-add instead. OpenAPI: PUT /v2/quotes/{quoteId}/line-items Scope: Quoting. Audience: https://api.pax8.com. .PARAMETER QuoteId path parameter 'quoteId'. .PARAMETER Body Raw request body. This can be a hashtable, PSCustomObject, or pre-built JSON string. .EXAMPLE Update-Pax8LineItems -QuoteId '00000000-0000-0000-0000-000000000000' .LINK https://devx.pax8.com/openapi/quoting-endpoints.json #> function Update-Pax8LineItems { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [guid]$QuoteId, [Parameter(ValueFromPipeline = $true)] [object]$Body, [switch]$Raw ) process { $boundParameters = @{} foreach ($entry in $PSBoundParameters.GetEnumerator()) { $boundParameters[$entry.Key] = $entry.Value } Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters } } |