put
https://api.preczn.com/v1/merchants//connections//contact-roles
Replaces the entire role-to-contact assignment map on the connection. Inline-created contacts are deduplicated by canonical (firstName, lastName, email) per merchant. Owner refs are validated against merchant.owners. Dropped role slots clear the assignment on the processor record; the underlying contact rows are preserved.
200Updated.
400Validation failure. Returns { errors: [{ path, message }] } for Zod issues.
401Unauthorized (test-mode mismatch).
403Forbidden (platform mismatch).
404Merchant or connection not found.
