Build a prefilled enrollment form link
build_enrollment_linkBuilds a link to the program's Jotform with the person's answers filled in and, if given, the week and the pay-in-full / deposit choice preselected. This does NOT enroll, reserve a seat or charge anything: the person must open the link, check the answers, accept the waivers, pay and submit on the form. Answers are not stored or logged. Use keys from get_enrollment_form; unknown keys and invalid answers are returned in skipped, required questions not yet answered in missingRequired (they can still answer them on the form), and answers to confirm with the person before handing over the link in warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Question key → answer. Addresses are objects; everything else is a string. | |
| program | Yes | ||
| productId | No | A week from get_enrollment_form. Omit to let them pick on the form. | |
| paymentOption | No | One of the week's paymentOptions labels, e.g. 'Pay Deposit'. |