Update a policy

Path Params
string
required

Must be a UUID. The unique identifier of the policy.

Body Params
app_data
object | null

null is allowed. An object containing additional custom data for the policy.

integer

Day of the month on which the policy should be billed. Should be between 1 and 31. Billing day cannot be changed once a payment method is assigned to the policy.

date-time | null

An ISO 8601 date. The date on which cover ends. null clears an existing end date. Must be after the policy start date, and cannot be set on a policy that is already cancelled or expired.

Once the end date has passed, the policy stops being billed and is expired by the daily expiry job. No premium is refunded automatically, and no adjustment is raised on the policy ledger.

Requires allowEndDateChange to be enabled in the product module's billing settings. Requests are rejected with a 400 otherwise.

Response

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