---
title: "PATCH /policy/{tenantLocator}/autoRenewals/{locator}"
method: PATCH
path: "/policy/{tenantLocator}/autoRenewals/{locator}"
---

# PATCH /policy/{tenantLocator}/autoRenewals/{locator}

`PATCH /policy/{tenantLocator}/autoRenewals/{locator}`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/policy/{tenantLocator}/autoRenewals/{locator}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/policy/:tenantLocator/autoRenewals/:locator/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantLocator` string, uuid, required
- `locator` string, ulid, required

## Request body

- AutoRenewalUpdateRequest
  - `renewalTransactionType` string
  - `newTermDuration` integer
  - `renewalTransactionCreateTime` string, date-time
  - `renewalTransactionAcceptTime` string, date-time
  - `renewalTransactionIssueTime` string, date-time
  - `renewalTransactionLocator` string, ulid

## Response `200`

OK

- AutoRenewalResponse
  - `locator` string, ulid, required
  - `autoRenewalState` 'active' | 'discarded' | 'doNotRenew' | 'issued' | 'error' | 'terminated' | 'invalidated', required
  - `policyLocator` string, ulid, required
  - `termLocator` string, ulid, required
  - `renewalTransactionType` string, required
  - `renewalTransactionLocator` string, ulid
  - `renewalTransactionCreateTime` string, date-time
  - `renewalTransactionCreatedTime` string, date-time
  - `renewalTransactionAcceptTime` string, date-time
  - `renewalTransactionAcceptedTime` string, date-time
  - `renewalTransactionIssueTime` string, date-time
  - `renewalTransactionIssuedTime` string, date-time
  - `newTermDuration` integer
  - `validationResult` ValidationResult
    - `validationItems` ValidationItemResponse[]
      - `elementType` string, required
      - `locator` string, ulid, required
      - `errors` string[], required
    - `success` boolean, required

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/6537d24b3693?raw)
