PUT productpricingmodel/edit

Edits the specified product pricing model.

Request Information

Parameters

NameDescriptionAdditional information
productPricingModel
The product pricing model.
            1) Name: String Max 50 chars. 
            2) Code: Mandatory. String, Max 20 chars. Needs to be unique
            3) Type: String.
                     a) CostPlusPercentage = Cost + % pricing 
                     b) CostPlusMargin = Cost + margin pricing
                     c) RRPOff = Off RRP pricing
            4) ExtremePricePercentage: Number representing a percentage of the minimum margin when RRPOff type is used. 
                                        Ignored/not used for CostPlusPercentage or CostPlusMargin types

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": "2017-10-18T17:50:46.3502439+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>2017-10-18T17:50:46.3502439+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.