Contracts
Update Contract
Updates an existing contract in your COR instance using its external ID
PUT
Updates an existing contract in your COR instance using its external ID. Performs the same validations as creation, including date validation in
YYYY-MM-DD format, and updates only the provided fields.
The currency ISO sent in the request must have a previously configured currency exchange in COR. If no exchange rate exists from the contract currency to the company base currency, contract update is rejected with status: 400, name: CORCustomError, and code: CTR006.
Path Parameters
string
required
External contract ID that was used when creating the contract
Request Body Requirements
object
required
string
Updated contract name
string
Updated contract type
string
Updated contract status
string
Updated start date in
YYYY-MM-DD formatstring
Updated end date in
YYYY-MM-DD formatnumber
Updated contract value
string
Updated description
Known Errors
ZC001— Entity is not associated (contract with the specified external ID not found)ContractNotFoundError— No contract found with the specified external IDValidationError— Missing requiredmetadata.sourcefieldValidationError—Invalid start date format: <value>whenstart_dateis not a validYYYY-MM-DDdateValidationError—Invalid end date format: <value>whenend_dateis not a validYYYY-MM-DDdateCTR006(CORCustomError,400) —Cannot save contract. Exchange rate not found for ${currency} to ${baseCurrency}. Please sync exchange rates first.

