Partially updates an existing deal.
Only the properties named in `updatedFields` are changed (names are case-insensitive); other properties in the body are ignored. Supported names: `Identifier`, `QuotedDeliveryDate`, `TargetDeliveryDate`, `TargetDeliveryDateComments`, `ProjectedDeliveryDate`, `ProjectedDeliveryDateComments`, `AttachmentDeliveryDate`, `AttachmentDeliveryDateComments`, `SaleTypeID`, `TransactionTypeID`, `FinanceTerm`, `WarrantyTerm`, `SellPrice`, `ActualProfitMargin`, `MonthlyPayment`, `InterestRate`, `EquipmentMake`, `EquipmentModel`, `EquipmentDescription`, `EquipmentSerialNo` and `EquipmentStockNo`; unknown names are ignored. Dates are stored without a time. Equipment and pricing fields apply to the deal's first equipment line. Entries in `udfs` are always applied, matched by `fieldName`; unknown field names are skipped. After saving, the deal's task list is re-evaluated.
/api/v2/deals/{dealId}Authentication
Choose one supported method for this request.
Parameters
dealIdpathinteger · int32requiredThe ID of the deal to update.
Request body
The list of fields to update, their new values, and optional user-defined field values.
updatedFieldsstring[]identifierstringquotedDeliveryDatestring · date-timenullabletargetDeliveryDatestring · date-timenullabletargetDeliveryDateCommentsstringprojectedDeliveryDatestring · date-timenullableprojectedDeliveryDateCommentsstringattachmentDeliveryDatestring · date-timenullableattachmentDeliveryDateCommentsstringsaleTypeIDinteger · int32transactionTypeIDinteger · int32financeTermstringwarrantyTermstringcreditReleaseNostringsellPricenumber · doubleactualProfitMarginnumber · doublemonthlyPaymentnumber · doubleinterestRatenumber · doubleequipmentMakestringequipmentModelstringequipmentDescriptionstringequipmentSerialNostringequipmentStockNostring
Responses
Deal updated.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors