Cart Test
Web/Cart/{sessionKey}/SubLineItems/{subLineItemId}/Price
Updates the price on a sub line item.

A price can only be edited if the price type has been marked as editable, zones on the price map have been designated as editable, and the seat is in one of the editable zones.

The status field in the response will return as S if the price can be applied or E with a description of the error if the price cannot be applied.
Http Verb PUT
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Web/Cart/{sessionKey}/SubLineItems/{subLineItemId}/Price

URI Parameters

Parameter Name Data Type Required Notes
sessionKey string Y
subLineItemId integer Y The Id of the sub lineitem to apply the price to. Must be a valid sub lineitem in the cart.

Request Body

Request object type : UpdatePriceRequest

Request object type UpdatePriceRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
NewPrice decimal number Y The new price for the sub lineitems.
{
  "NewPrice": 1.0
}
<UpdatePriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <NewPrice>1</NewPrice>
</UpdatePriceRequest>

Response object type : UpdatePriceResponse

Response object type UpdatePriceResponse has the following properties.
Property Name Data Type Length Required Readonly Notes
DueAmount decimal number The new price for the sub lineitem. Will be NULL if an error occurred.
Error string A description of why the price or discount could not be applied, if an error occurred. Will be present if Status is 'E'.
LineItemId integer
NonDiscountPrice decimal number The original price of the sub lineitem. Will be NULL if an error occurred.
PackageId integer
PerformanceId integer
PriceTypeId integer
SeatNumber integer
Status string Will be 'S' if the price or discount is applied, 'E' if it could not be.
SubLineItemId integer
ZoneId integer
{
  "LineItemId": 1,
  "SubLineItemId": 2,
  "PerformanceId": 3,
  "PackageId": 4,
  "ZoneId": 5,
  "SeatNumber": 6,
  "DueAmount": 1.0,
  "PriceTypeId": 7,
  "NonDiscountPrice": 1.0,
  "Status": "sample string 8",
  "Error": "sample string 9"
}
<UpdatePriceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DueAmount>1</DueAmount>
  <Error>sample string 9</Error>
  <LineItemId>1</LineItemId>
  <NonDiscountPrice>1</NonDiscountPrice>
  <PackageId>4</PackageId>
  <PerformanceId>3</PerformanceId>
  <PriceTypeId>7</PriceTypeId>
  <SeatNumber>6</SeatNumber>
  <Status>sample string 8</Status>
  <SubLineItemId>2</SubLineItemId>
  <ZoneId>5</ZoneId>
</UpdatePriceResponse>
Change Version Description Contract Old New
Parameter Changed 15.0.0 sessionKey has been marked as required. Required