Set per-role contact assignments for the form's connection

Form-scoped equivalent of PUT /v1/merchants/:merchantId/connections/:connectionId/contact-roles. Possession of a non-expired form id authorizes this mutation — same pattern as every other mid-flow endpoint on this controller. For multi-connection forms, the connectionId query parameter is required; for single-connection forms it defaults to the form's connectionId.

Path Params
string
required

The boarding form id.

Query Params
string

Connection id (or processor enum). Required for multi-connection forms; defaults to the form's connectionId for single-connection forms.

Responses
200

Updated.

400

Validation failure or connectionId mismatch. Returns { errors: [{ path, message }] } for Zod issues.

404

Form, merchant, or connection not found.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!