API client_update method mandates all default contact fields

The Client_Update method is mandating the email field though the documentation states it is optional.


Here’s an extract from XMLSpy which is perhaps a little clearer (optional fields marked with dashed borders).

If you wish to update any credentials within a contact, you need to supply the contact ID, first name, surname and email as a set.

The parent node (DefautContact) however is optional, so if you just wanted to update some other client data (e.g. company name, address etc) you don’t need to supply any Client Contact data in your request.

Thanks Glen. What would be better is that only the field requiring an update is passed but I can live with the current state.

1 Like