Reissue an enrollment
client.enrollments.reissue(stringenrollmentID, EnrollmentReissueParams { qualifying_life_event_id, reason, ticket_number } body?, RequestOptionsoptions?): EnrollmentReissueResponse { data }
POST/v1/enrollments/{enrollment_id}/reissue
Closes the targeted enrollment and creates a new unanswered enrollment for the same member and plan year. VPC never requires a qualifying life event; other products require an accepted, member-owned event outside open enrollment. User-backed callers must provide a reason; it is optional for userless organization callers. Tenant mismatches return a non-disclosing 404 before the request body is validated.
Reissue an enrollment
import VitableConnect from '@vitable-inc/vitable-connect';
const client = new VitableConnect({
apiKey: process.env['VITABLE_CONNECT_API_KEY'], // This is the default and can be omitted
});
const response = await client.enrollments.reissue('enrl_AAAAAAAAAAAAAAAAAAAAAQ', {
qualifying_life_event_id: 'qle_AAAAAAAAAAAAAAAAAAAAAQ',
reason: 'Member needs a new election after a qualifying event.',
ticket_number: 'BPT-1234',
});
console.log(response.data);{
"data": {
"enrollment_id": "enrl_AAAAAAAAAAAAAAAAAAAAAQ"
}
}Returns Examples
{
"data": {
"enrollment_id": "enrl_AAAAAAAAAAAAAAAAAAAAAQ"
}
}