Client fields you send are changed; nothing is required except a valid client ID in the path. business_name cannot be set to an empty value, and email (when changed) must remain unique and valid. branch_id is ignored on update. Optional ClientDetail and le_custom_data_client objects carry additional and custom-field data. Returns 404 if no client matches the ID. Requires a permission to edit the client.Authorization: Bearer ********************curl --location --globoff --request PUT 'https://.daftra.com/api2/clients/?skip_email=undefined' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"Client": {"business_name": "John Smith Co.", "phone1": "+201111111111"}}'{
"code": 200,
"result": "successful"
}