PUT quote/product/{quote}/{quoteToProduct}

Sets discount percent.

Request Information

URI

https://ofd-api.blueprintcpq.net/quote/product/{quote}/{quoteToProduct}

URI Parameters

NameDescriptionTypeAdditional information
quote

Quote Identifier.

globally unique identifier

Required

quoteToProduct

The quote to product identifier.

globally unique identifier

Required

Body Parameters

QuoteProductUpdate
NameDescriptionTypeAdditional information
DiscountPercent

decimal number

None.

Group

integer

None.

Request Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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

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>