Update a policy (sandbox only)

Update attributes on a policy, bypassing the product module code validation. Note: This endpoint is intended to be used for testing purposes and, as such, is only available in the sandbox environment.

Path Params
string
required

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.

string

The package name, as originally specified in the quote hook

integer

The amount, in cents, of the total value insured.

integer

The amount, in cents, of the monthly premium, as written on the policy schedule.

date-time

The start date of the policy.

date-time

The end date of the policy.

module
object

Custom module-specific fields stored against the policy. See product modules for more details.

string

A short-hand unique identifier for the policy, referenced in policy documents and displayed on the Root management dashboard. Must be unique within the organisation.

Responses

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