How to change primary field from name to email for create contact API?

How to change primary field from name to email for create contact API?

Hi,

I'm trying to add a customer in ZOHO Books using create contact API. But, It seems this API uses contact_name as a primary field because whenever I'm trying to create a new customer with an existing contact name but a different email address, there is 400 Bad request with the message: "The customer \"ABC XYZ\" already exists. Please specify a different name.".

Can we use email as a primary field instead contact_name?

Thanks,