Schedule an alteration package

Schedules a pending alteration package to apply on a date. A later date applies at 00:00 in your organization's timezone. Today applies at the earliest :00 or :30 that is at least 15 minutes away.

Scheduling a package that is already scheduled replaces its schedule. Archiving, applying or superseding the package cancels its schedule, and refreshing it moves the schedule to the refreshed package.

When the scheduled apply runs, a package whose re-quote has a different premium, sum assured, billing frequency or currency is not applied. It stays pending and unscheduled, and a task is raised on the policy.

Requires the create alteration package permission. Scheduling is opt-in per organization: unless the scheduled_alteration_apply feature flag is enabled for your organization this endpoint returns 403.

Path Params
uuid
required

Must be a UUID. The unique identifier of the pending alteration package to schedule.

Query Params
string

To perform an idempotent request, provide the idempotency_key query parameter with the request. An idempotency key is a unique value generated by the client which the platform uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using a V4 UUID, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.

Body Params
date
required

The date to apply the alteration package on, in your organization's timezone. Must be today or later.

Responses

400

The package is not pending or is part of a sequence, apply_on is before today, or apply_on is today and today's last slot has passed.

403

The scheduled_alteration_apply feature flag is not enabled for your organization.

404

The alteration package was not found, or it is archived.

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