# Upsert Pricing Upsert Pricing Endpoint: PATCH /rest/2.0/PRICING Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.ExternalKey` (string) ExternalKey - `brmObjects.RateClassProductId` (integer) RateClassProductId - `brmObjects.Id` (string, required) Id: Pricing Id - `brmObjects.Rate` (string, required) Rate - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.BuyRate` (string) BuyRate - `brmObjects.MinCharge` (string) MinCharge - `brmObjects.UpperBand` (string) UpperBand - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `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.ProductId` (integer) ProductId - `brmObjects.AccountProductId` (integer) AccountProductId: Customer Product Id - `brmObjects.CurrencyCode` (integer) CurrencyCode - `brmObjects.ContractRateId` (integer) ContractRateId - `brmObjects.EffectiveDate` (string) EffectiveDate: The Date when the plan takes effect - `brmObjects.EndDate` (string) EndDate: The Date when the plan terminates - `brmObjects.RerateFlag` (integer) Automatically re-rate current usage: When checked, all charges for this product in open/CURRENT invoices are re-rated unless these charges were priced using other than the base product (e.g. rated using account product rates, contract rates, etc.). - `brmObjects.BlockSize` (string) BlockSize - `brmObjects.BlockIterations` (string) BlockIterations: ITERATIONS - `brmObjects.RateOrder` (string) RateOrder - `brmObjects.MainPricingPlanId` (integer) MainPricingPlanId - `brmObjects.QuoteProductId` (integer) QuoteProductId - `brmObjects.RateSource` (string) Rate Source - `brmObjects.QuoteRate` (string) QuoteRate - `brmObjects.SSP` (string) SSP: SSP (Revenue Recognition) - `brmObjects.RevRecContractProductId` (integer) RevRecContractProductId: RevRec Contract Product - `brmObjects.LowerBand` (string) LowerBand - `brmObjects.RatingMethodId` (integer) Rating Method - `brmObjects.PackageProductId` (integer) PackageProductId - `brmObjects.OrderLineItemId` (integer) OrderLineItemId - `externalIDFieldName` (string) Enum: "ExternalKey" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)