Update a Price Model Linked to Pricing Rule
patch
/rest/v19/pricingSetup/rules/{ruleVariableName}/ruleModels/{modelVariableName}
Use this endpoint to change the order number for the specified price model.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : PricingRuleModel
Type:
Show Source
object-
adjustmentType:
string()
Title:
The Adjustment Type of pricing modelRead Only:trueAllowed Values:[ "discountPercent", "discountAmount", "markupPercent", "markupAmount" ]Adjustment Type. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Pricing Model to Pricing Rule link. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast modified date of the Pricing Model to Pricing Rule link. -
description:
string()
Title:
DescriptionRead Only:trueThe description of the linked Pricing Model. -
dynamicPricingType:
string()
Title:
Dynamic Pricing TypeRead Only:trueAllowed Values:[ "static", "advanced", "volume", "tiered", "rateCard", "attributeBasedCharge" ]The type of dynamic pricing applied by the linked Pricing Model. -
editRestriction:
string()
Title:
Edit RestrictionRead Only:trueAllowed Values:[ "UNRESTRICTED", "ONLY_REORDERABLE", "RESTRICTED" ]Pricing Edit Restriction. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
hasBomItem:
boolean()
Title:
Has BOM ItemRead Only:trueIndicates whether this model has prices defined for BOM Items. -
hasChargeSupport:
boolean()
Title:
Has Charge SupportRead Only:trueIndicates whether this model has charge support. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
listType:
string()
Title:
The List Type for the pricing modelRead Only:trueAllowed Values:[ "priceList", "discountList", "advanced", "markupList", "advancedByTemplate" ]List Type. -
name:
string()
Title:
NameRead Only:trueThe name of the linked Pricing Model. -
orderNumber:
integer()
Title:
Order NumberThe position(starting from 1) of the linked Pricing Model within the Pricing Rule. -
ruleCount:
integer()
Title:
Linked Pricing Rules CountRead Only:trueThe count of pricing rules linked to this model. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
valueType:
string()
Title:
Value TypeRead Only:trueAllowed Values:[ "absolutePrice", "discountAmount", "discountPercent", "markupAmount", "markupPercent", "advancedByTemplate" ]The type of discount applied by the linked Pricing Model. -
variableName:
string()
Title:
Variable NameThe Unique Variable Name of the linked Pricing Model.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Response
204 Response
Success