# Update a customer contract Note that once billing starts, only roll-over profile, renewal alert days, and notice period days can be edited. End date can be set to terminate and renew with a new contract prior to roll-over Endpoint: PATCH /customer-contracts/{customer_contract_id} Version: 1.11 Security: bearerAuth ## Path parameters: - `customer_contract_id` (integer, required) Customer contract identifier Example: 1 ## Request fields (application/json-patch+json): - `op` (string, required) The JSON Patch operation to be performed Enum: "add", "remove", "replace", "move", "copy", "test" - `path` (string, required) A JSON-Pointer - `value` (object) The value to be used within the operations - `from` (string) A string containing a JSON Pointer value ## Response 200 fields (application/json): - `id` (integer) Customer contract identifier Example: 1 - `name` (string) Generated contract Name - `customerId` (integer, required) Customer identifier - `siteId` (integer) Site identifier to restrict contract to a particular site (optional) - `contractProfileId` (integer, required) Contract profile for this customer contract - `startDate` (string, required) Effective start date of the customer contract - `endDate` (string) Date when this customer contract ends based on start date and contract profile term - `createdDate` (string) Date when this customer contract was created - `rolloverContractProfileId` (integer) Once term of this contract ends, contract will auto-renew as this contract - `renewalAlertDays` (integer) Renewal alert will be given this many days before the contract ends - `noticePeriodDays` (integer) Notice period alert will be given this many days before the contract ends - `previousCustomerContractId` (integer) Where this contract had rolled-over from a previous contract, contains the previous contract - `renewedCustomerContractId` (integer) Where this contract rolled-over, contains the next contract that replaced this contract ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields