Updates a draft contract

Replaces the draft contract identified by draft_contract_id with the supplied payload. The body shape
matches POST /draft-contracts — items and external_references on the existing record are fully replaced.
Returns 404 if the id is not a draft contract in the organization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID of the draft contract to be used in this operation.

Body Params
external_references
array of objects, unique

Cross-system identifiers for this draft contract. Each reference's type slug must already exist in
the org's external reference types (configurable in Rillet Settings).

Required for deduplication. Re-posting with any matching (type, id) pair replaces the prior draft
record. Draft contracts created without external_references are not deduplicated.

external_references
uuid
required
uuid
required

Must reference a customer that already exists in Rillet. Use POST /customers first if needed.

string
required
amount
object
required
date
required
date
date
string
enum
required

The "FULL" scope includes revenue recognition and invoicing handled in Rillet. With the "REVENUE_RECOGNITION_ONLY" scope, invoicing is handled outside Rillet.

Allowed:
items
array of objects
required
length ≥ 1

Contract line items. At least one item is required.

items*
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json