# Save Quote Rules Save Quote Rules Endpoint: POST /rest/2.0/QUOTE_RULE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.OrderNum` (string) Order of Evaluation - `brmObjects.FormulaValidation` (string) Formula Validation - `brmObjects.Description` (string) Description - `brmObjects.RuleTriggerMethod` (string) Rule Trigger Method - `brmObjects.StartEntityPricing` (string) Entity - `brmObjects.Status` (string) Status - `brmObjects.UseAggregationFlag` (integer) Use Aggregation - `brmObjects.ResultExpressionPricing` (string, required) Result Expression: Result Description - `brmObjects.QuoteRuleAggregateFilterLogic` (string) Criteria Filter Logic - `brmObjects.PricingRuleType` (string) Rule Type - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.ResultDescription` (string) Description - `brmObjects.ValidationStatus` (string) ValidationStatus - `brmObjects.Id` (string, required) Id: QuoteRuleId - `brmObjects.QuoteRuleFilterLogic` (string) Criteria Filter Logic - `brmObjects.FormulaCriteria` (string) FormulaCriteria - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.ValidationResult` (string) ValidationResult - `brmObjects.FormulaUpdate` (string, required) Formula - `brmObjects.QuoteRuleType` (string) Rule Type: Pricing - allows you to set up customized pricing condition for your product.This rule could be based on quantities, customer types, date ranges, or any other parameters you wish to define.Validation - lets you establish specific requirements that must be met before a quote can be proceed.This rule can be used to confirm product compatibility, minimum order values, discount eligibility, and more.Restriction. Add Product - enables user to control the addition of specific products to a quote.This rule is designed to ensure that only eligible products are selected during the quotation process.It can be used to restrict the selection based on product characteristics, current quote's content,customer preference, and other defined criteria. - `brmObjects.RestrictRuleDeactivation` (integer) Restrict Rule Deactivation - `brmObjects.QuoteRuleName` (string, required) Rule Name - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.FormulaPricingCriteria` (string, required) Formula - `brmObjects.StartEntityProduct` (string) Entity - `brmObjects.FormulaProductCriteria` (string, required) Formula ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.OrderNum` (string) Order of Evaluation - `retrieveResponse.FormulaValidation` (string) Formula Validation - `retrieveResponse.Description` (string) Description - `retrieveResponse.RuleTriggerMethod` (string) Rule Trigger Method - `retrieveResponse.StartEntityPricing` (string) Entity - `retrieveResponse.Status` (string) Status - `retrieveResponse.UseAggregationFlag` (integer) Use Aggregation - `retrieveResponse.ResultExpressionPricing` (string) Result Expression: Result Description - `retrieveResponse.QuoteRuleAggregateFilterLogic` (string) Criteria Filter Logic - `retrieveResponse.PricingRuleType` (string) Rule Type - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.ResultDescription` (string) Description - `retrieveResponse.ValidationStatus` (string) ValidationStatus - `retrieveResponse.Id` (string) Id: QuoteRuleId - `retrieveResponse.QuoteRuleFilterLogic` (string) Criteria Filter Logic - `retrieveResponse.FormulaCriteria` (string) FormulaCriteria - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.ValidationResult` (string) ValidationResult - `retrieveResponse.FormulaUpdate` (string) Formula - `retrieveResponse.QuoteRuleType` (string) Rule Type: Pricing - allows you to set up customized pricing condition for your product.This rule could be based on quantities, customer types, date ranges, or any other parameters you wish to define.Validation - lets you establish specific requirements that must be met before a quote can be proceed.This rule can be used to confirm product compatibility, minimum order values, discount eligibility, and more.Restriction. Add Product - enables user to control the addition of specific products to a quote.This rule is designed to ensure that only eligible products are selected during the quotation process.It can be used to restrict the selection based on product characteristics, current quote's content,customer preference, and other defined criteria. - `retrieveResponse.RestrictRuleDeactivation` (integer) Restrict Rule Deactivation - `retrieveResponse.QuoteRuleName` (string) Rule Name - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.FormulaPricingCriteria` (string) Formula - `retrieveResponse.StartEntityProduct` (string) Entity - `retrieveResponse.FormulaProductCriteria` (string) Formula ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error