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.
Exceptions that keep stored data when the field is omitted:
- shipping_customer_id, billing_address_id, shipping_address_id: omit them to keep the draft's current
ship-to customer and addresses, or send null to clear them. - email_selection: omit it to keep the draft's current recipients.
This is for backward compatibility: integrations built before these fields existed won't clear them on every
update. Kept values that no longer fit are dropped: the billing address and email selection when customer_id
changes, a ship-to customer that was the previous billing customer, and any address or email its customer no
longer holds.
A draft waiting for approval as a new contract can't be changed: the request answers 409. Once the approval request
is rejected or cancelled, the draft can be changed and sent again.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
