Updating Contract Details using the API
This guide describes how to retrieve the list of contracts in your organization and update their details
In order to update contract details there are two steps.
- Use the List Contracts endpoint to retrieve the list of contracts in your organization. The response will include the unique identifier for the contract in your organization. This value must be used as the contract's unique ID in step (2).
- Use the value of
id
for the contract you would like to update details for with the Update Contract endpoint. In the body of the request specify the field names you would like to update. You can update both standard fields and custom fields. The field names you specify in the body can be seen in the settings page of your Torii console. The screenshots below illustrate where to get the field names and how to use the request.
JSON Body Examples
{ "status": "inReview", "ccf_testField" : "Test" }
{ "name": "Monday", "owner": 1125089212, "idApp": 2369, "status": "active", "amount": "12000", "c_isThereAnNdaSigned_1": "Yes" }
Congratulations
You can use this approach to keep contract metadata up-to-date from a variety of different sources.
Updated 11 months ago