DELETE productpricingmodel/deletealldiscountsbyvolume

Deletes all discounts by volume.

Request Information

Parameters

NameDescriptionAdditional information
productPricingModel
The product pricing model.
            1) Code: Mandatory. String, max 20 chars. To link to pricing model
            2) RequiredVolume: Mandatory. Whole number. Provide 1 if discount does not depend on quantity ordered

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Code": "sample string 2",
  "ExtremePricePercentage": 1.1,
  "DateAdded": "2024-04-20T10:31:46.4661125+01:00",
  "Type": "sample string 4",
  "MatrixCode": "sample string 5",
  "RequiredVolume": 6,
  "Percentage": 1.1,
  "GetTypeId": 0
}

application/xml, text/xml

Sample:
<ProductPricingModelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <Code>sample string 2</Code>
  <DateAdded>2024-04-20T10:31:46.4661125+01:00</DateAdded>
  <ExtremePricePercentage>1.1</ExtremePricePercentage>
  <MatrixCode>sample string 5</MatrixCode>
  <Name>sample string 1</Name>
  <Percentage>1.1</Percentage>
  <RequiredVolume>6</RequiredVolume>
  <Type>sample string 4</Type>
</ProductPricingModelModel>

application/x-www-form-urlencoded

Sample:

Sample not available.