PUT quote/part/discount/{quote}/{quoteToPart}

Sets part discount percent.

Request Information

URI

https://ofd-api.blueprintcpq.net/quote/part/discount/{quote}/{quoteToPart}

URI Parameters

NameDescriptionTypeAdditional information
quote

Quote Identifier.

globally unique identifier

Required

quoteToPart

The quote to part identifier.

globally unique identifier

Required

Body Parameters

The changes to discount percent and quantity.

UpdatePart
NameDescriptionTypeAdditional information
DiscountPercent

decimal number

None.

Quantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DiscountPercent": 1.0,
  "Quantity": 2
}

text/html

Sample:
{"DiscountPercent":1.0,"Quantity":2}

application/xml, text/xml

Sample:
<UpdatePart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
  <DiscountPercent>1</DiscountPercent>
  <Quantity>2</Quantity>
</UpdatePart>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if it succeeds, false if it fails.

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>