# Update Quote

Update Quote

Endpoint: PUT /rest/2.0/QUOTE
Version: 1.0
Security: JWT

## Header parameters:

  - `sessionId` (string, required)

## Request fields (application/json; charset=utf-8):

  - `brmObjects` (object)

  - `brmObjects.Id` (string, required)
    ID: Quote Id

  - `brmObjects.UpdatedUserId` (string)
    System controlled field: Id of the last user that updated the record

  - `brmObjects.QuoteDocTemplateId` (integer)
    PDF Template: Quote Document Template

  - `brmObjects.CreatedUserId` (string)
    System controlled field: Id of the user that created the record

  - `brmObjects.ProductTreeMode` (string)
    ProductTreeMode

  - `brmObjects.AmendDate` (string)
    Amendment Date: Quote Amend Date

  - `brmObjects.QuoteSource` (string)
    Quote Source

  - `brmObjects.OnEndDate` (string)
    On End Date: Renew or Terminate on end date (is used for contract creation)

  - `brmObjects.OriginalQuoteId` (integer)
    Original Quote: Original Quote to which the Amendment is done

  - `brmObjects.QuoteName` (string)
    Quote Name

  - `brmObjects.Created` (string)
    System controlled field: Date and time the record was created

  - `brmObjects.QuoteDraftId` (string, required)
    QuoteDraftId

  - `brmObjects.StartDate` (string, required)
    Service Start Date

  - `brmObjects.SalesforceIsPrimary` (integer)
    Is Primary: Select to mark current quote as a primary source to sync data with saleforce opportunity object

  - `brmObjects.SourceQuoteId` (integer)
    Create from Quote: Original Quote from which this one is copied

  - `brmObjects.Status` (string)
    Status

  - `brmObjects.SalesforceAccountId` (string)
    Salesforce Account

  - `brmObjects.SalesforceOpportunityId` (string)
    Salesforce Opportunity Id

  - `brmObjects.DefaultContractId` (integer)
    Default Contract

  - `brmObjects.Currency` (integer, required)
    Currency: Currency Code

  - `brmObjects.OrderId` (integer)
    Order Id

  - `brmObjects.AccountId` (integer)
    Account

  - `brmObjects.Updated` (string)
    System controlled field: Date and time the record was last updated

  - `brmObjects.EndDate` (string)
    Service End Date

  - `brmObjects.CalculationMode` (string)
    Calculation Mode: Termed - Calculates the quote based on the period structure defined in the Periods tab. Recommended for calculating long-term deals with a complicated structure.            Evergreen - Calculates only the first subscription cycle cost for each quote item.

  - `brmObjects.ProductCount` (string)
    Product Count

  - `brmObjects.SalesforceOpportunityUrl` (string)
    Salesforce Opportunity URL

  - `brmObjects.ApprovalRequestId` (integer)
    Approval Request Id

  - `brmObjects.IsReadyForActivation` (integer)
    IsReadyForActivation

  - `brmObjects.QuoteCategory` (string)
    QuoteCategory

  - `brmObjects.ParentQuoteId` (integer)
    Parent Quote Id: Parent quote Id (for tree of quotes) if any

  - `brmObjects.EmailSentOn` (string)
    EmailSentOn

  - `brmObjects.ApprovedBy` (string)
    ApprovedBy

  - `brmObjects.FileName` (string)
    FileName

  - `brmObjects.NeedValidate` (string)
    NeedValidate

  - `brmObjects.SalesforceBPQuoteId` (string)
    SalesforceBPQuoteId

  - `brmObjects.SalesforcePrimaryOpportunityCount` (string)
    SalesforcePrimaryOpportunityCount

  - `brmObjects.ApprovedOn` (string)
    ApprovedOn

  - `brmObjects.SendQuote` (integer)
    Send Quote?

## Response 200 fields (application/json):

  - `retrieveResponse` (object)

  - `retrieveResponse.Id` (string)
    ID: Quote Id

  - `retrieveResponse.UpdatedUserId` (string)
    System controlled field: Id of the last user that updated the record

  - `retrieveResponse.QuoteDocTemplateId` (integer)
    PDF Template: Quote Document Template

  - `retrieveResponse.CreatedUserId` (string)
    System controlled field: Id of the user that created the record

  - `retrieveResponse.ProductTreeMode` (string)
    ProductTreeMode

  - `retrieveResponse.AmendDate` (string)
    Amendment Date: Quote Amend Date

  - `retrieveResponse.QuoteSource` (string)
    Quote Source

  - `retrieveResponse.OnEndDate` (string)
    On End Date: Renew or Terminate on end date (is used for contract creation)

  - `retrieveResponse.OriginalQuoteId` (integer)
    Original Quote: Original Quote to which the Amendment is done

  - `retrieveResponse.QuoteName` (string)
    Quote Name

  - `retrieveResponse.Created` (string)
    System controlled field: Date and time the record was created

  - `retrieveResponse.QuoteDraftId` (string)
    QuoteDraftId

  - `retrieveResponse.StartDate` (string)
    Service Start Date

  - `retrieveResponse.SalesforceIsPrimary` (integer)
    Is Primary: Select to mark current quote as a primary source to sync data with saleforce opportunity object

  - `retrieveResponse.SourceQuoteId` (integer)
    Create from Quote: Original Quote from which this one is copied

  - `retrieveResponse.Status` (string)
    Status

  - `retrieveResponse.SalesforceAccountId` (string)
    Salesforce Account

  - `retrieveResponse.SalesforceOpportunityId` (string)
    Salesforce Opportunity Id

  - `retrieveResponse.DefaultContractId` (integer)
    Default Contract

  - `retrieveResponse.Currency` (integer)
    Currency: Currency Code

  - `retrieveResponse.OrderId` (integer)
    Order Id

  - `retrieveResponse.AccountId` (integer)
    Account

  - `retrieveResponse.Updated` (string)
    System controlled field: Date and time the record was last updated

  - `retrieveResponse.EndDate` (string)
    Service End Date

  - `retrieveResponse.CalculationMode` (string)
    Calculation Mode: Termed - Calculates the quote based on the period structure defined in the Periods tab. Recommended for calculating long-term deals with a complicated structure.            Evergreen - Calculates only the first subscription cycle cost for each quote item.

  - `retrieveResponse.ProductCount` (string)
    Product Count

  - `retrieveResponse.SalesforceOpportunityUrl` (string)
    Salesforce Opportunity URL

  - `retrieveResponse.ApprovalRequestId` (integer)
    Approval Request Id

  - `retrieveResponse.IsReadyForActivation` (integer)
    IsReadyForActivation

  - `retrieveResponse.QuoteCategory` (string)
    QuoteCategory

  - `retrieveResponse.ParentQuoteId` (integer)
    Parent Quote Id: Parent quote Id (for tree of quotes) if any

  - `retrieveResponse.EmailSentOn` (string)
    EmailSentOn

  - `retrieveResponse.ApprovedBy` (string)
    ApprovedBy

  - `retrieveResponse.FileName` (string)
    FileName

  - `retrieveResponse.NeedValidate` (string)
    NeedValidate

  - `retrieveResponse.SalesforceBPQuoteId` (string)
    SalesforceBPQuoteId

  - `retrieveResponse.SalesforcePrimaryOpportunityCount` (string)
    SalesforcePrimaryOpportunityCount

  - `retrieveResponse.ApprovedOn` (string)
    ApprovedOn

  - `retrieveResponse.SendQuote` (integer)
    Send Quote?

## 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


