---
title: "Update Contract"
method: PATCH
path: "/api/finance/contracts/{contract_id}"
tags: ["finance"]
---

# Update Contract

`PATCH /api/finance/contracts/{contract_id}`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/finance/contracts/{contract_id}`
- Auth: none declared

## Path parameters

- `contract_id` string, uuid, required

## Request body

- UpdateContractRequest: A full replace of an existing term line (Contract Terms rebuild stage 3's guided entry form edit mode) — every field the guided form shows is required here except the handful that are genuinely optional on a term line (facility, the pricing fields the chosen model does not use, the commission fields a renewal does not carry). `source` is deliberately absent: how a line came to exist is never editable.
  - `contract_type` string, required
  - `pricing_model` string, required
  - `starts_on` string, date, required
  - `term_no` integer, required
  - `facility_id` string, uuid, nullable
  - `billing_interval` string
  - `billing_timing` string
  - `payment_terms` string
  - `payment_method` string
  - `billable_mail_types` string
  - `status` string
  - `adp_count` integer
  - `rate_per_adp` union
    - number
    - string
  - `monthly_minimum` union
    - number
    - string
  - `rate_per_parcel` union
    - number
    - string
  - `flat_amount` union
    - number
    - string
  - `ends_on` string, date, nullable
  - `auto_renew` boolean
  - `sales_principal_id` string, uuid, nullable
  - `vp_principal_id` string, uuid, nullable
  - `commission_from` string, date, nullable
  - `signed_on` string, date, nullable
  - `deal_source` string, nullable
  - `selection_route` string, required
  - `payment_mechanism` string, nullable
  - `opportunity_origin` string, nullable
  - `special_commission_rate` union
    - number
    - string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
