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
Path Parameters
Body ()
Root Schema : PricingRuleModel
Type: object
Show Source
  • Title: The Adjustment Type of pricing model
    Read Only: true
    Allowed Values: [ "discountPercent", "discountAmount", "markupPercent", "markupAmount" ]
    Adjustment Type.
  • Created By
    Title: Created By
    Read Only: true
    The details of the user who created the record.
  • Title: Date Added
    Read Only: true
    Creation Date of the Pricing Model to Pricing Rule link.
  • Title: Date Modified
    Read Only: true
    Last modified date of the Pricing Model to Pricing Rule link.
  • Title: Description
    Read Only: true
    The description of the linked Pricing Model.
  • Title: Dynamic Pricing Type
    Read Only: true
    Allowed Values: [ "static", "advanced", "volume", "tiered", "rateCard", "attributeBasedCharge" ]
    The type of dynamic pricing applied by the linked Pricing Model.
  • Title: Edit Restriction
    Read Only: true
    Allowed Values: [ "UNRESTRICTED", "ONLY_REORDERABLE", "RESTRICTED" ]
    Pricing Edit Restriction.
  • Title: Has BOM Item
    Read Only: true
    Indicates whether this model has prices defined for BOM Items.
  • Title: Has Charge Support
    Read Only: true
    Indicates whether this model has charge support.
  • Last Modified By
    Title: Last Modified By
    Read Only: true
    The details of the user who modified the record.
  • Links
  • Title: The List Type for the pricing model
    Read Only: true
    Allowed Values: [ "priceList", "discountList", "advanced", "markupList", "advancedByTemplate" ]
    List Type.
  • Title: Name
    Read Only: true
    The name of the linked Pricing Model.
  • Title: Order Number
    The position(starting from 1) of the linked Pricing Model within the Pricing Rule.
  • Title: Linked Pricing Rules Count
    Read Only: true
    The count of pricing rules linked to this model.
  • Title: Value Type
    Read Only: true
    Allowed Values: [ "absolutePrice", "discountAmount", "discountPercent", "markupAmount", "markupPercent", "advancedByTemplate" ]
    The type of discount applied by the linked Pricing Model.
  • Title: Variable Name
    The Unique Variable Name of the linked Pricing Model.
Nested Schema : Created By
Title: Created By
Read Only: true
The 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 By
Read Only: true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Response

204 Response

Success
Back to Top