Client object. business_name is the only always-required field. email is required only when the client's invoicing method is email; when no email is supplied the client is created as offline. Optional ClientDetail and le_custom_data_client objects carry additional and custom-field data. Requires the Add New Client permission. Returns 202 with the new client's id and client_number.curl --location --globoff 'https://.daftra.com/api2/clients?skip_email=undefined&verify_phone2=undefined' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{"Client": {"business_name": "John Smith", "type": 3, "email": "john@example.com", "phone1": "+201000000000", "country_code": "EG", "default_currency_code": "EGP"}}'{
"result": "successful",
"code": 202,
"id": 512,
"client_number": "0000715"
}