Skip to content

Update contract

Request

Updates a contracts details

Path
contractIdinteger, (int32)required

The system identifier for the contract

Example:5348
Bodyapplication/merge-patch+json
namestring or null

The user defined name of the contract

Example:"My contract"
ownerobject or null(UserReference)

The user assigned as the owner of the contract

expirystring or null, (date-time)

The expiry date of the contract. The date and time uses the ISO-8601 format and will be in the Local timezone of the organization

Example:"2024-12-25T00:00:00"
externalIdstring or null

A unique user defined identifier that can be used to reference another system

Example:"external-01"
fieldsobject or null

The collection of fields associated with the contract

Example:
{ "my_text_field": "my text value", "my_decimal_field": 78659.84, "my_boolean_field": true, "my_date_field": "2025-05-06", "my_option_field": { "value": "option_1" }, "my_multioption_field": [ {}, {} ], "my_user_field": { "id": "f0f1e06e-3005-4093-af7f-1934d55617e1" } }
restrictedboolean or null

Is the contract only available to members.

An indicator where the contract requires membership to access

Example:false
statusstring or null(ContractStatus)

The current status of the contract

Enum:"Draft""Negotiating""Approval""Signing""Executed""Expired""Void"
Example:"Active"
teamAssignedobject or null(TeamReference)

The team which this contract is assigned to

{ "name": "My contract", "owner": { "id": "f0f1e06e-3005-4093-af7f-1934d55617e1" }, "expiry": "2024-12-25T00:00:00", "externalId": "external-01", "fields": { "my_text_field": "my text value", "my_decimal_field": 78659.84, "my_boolean_field": true, "my_date_field": "2025-05-06", "my_option_field": {}, "my_multioption_field": [], "my_user_field": {} }, "restricted": false, "status": "Active", "teamAssigned": { "id": 469 } }

Responses

No Content

Response
No content