put
https://api.everee.com/integration/v1/partner/companies//contacts/
Replace a contact's details on a draft company.
Use this endpoint to change a contact. It replaces the contact's details, so send every field.
Part of Company contacts. For how this fits into onboarding, see the guide: Collecting company information: contacts.
Primary contact
primary is replaced like every other field. Omitting it, or sending false, for the company's current primary contact leaves the company with no primary contact, and PRIMARY_CONTACT will appear in readiness.missing until you make a contact primary. Sending primary: true makes every other contact non-primary.
When you can call this
Only while the onboarding is a DRAFT and the contract documents haven't been signed. Otherwise it returns 409.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, malformed or expired. |
404 | The company or the contact wasn't found. |
409 | The onboarding is no longer a DRAFT, or the contract has been signed. |
422 | A required field is missing or malformed. |