The companies in the CRM: prospects, clients and former clients.
Writing
To add one, send name, and any of code, address_line1, address_line2, town, postcode, country, tax_number, company_number, external_ref, currency, payment_terms_days, default_rate, website, phone, email, industry, size, tags, notes, account_manager_member_id, allow_duplicate.
To change one, send any of name, code, address_line1, address_line2, town, postcode, country, tax_number, company_number, external_ref, currency, payment_terms_days, default_rate, website, phone, email, industry, size, tags, notes, account_manager_member_id, former, allow_duplicate.
former is true to mark it a former client, false to bring it back. A new client's code is made from its name when none is sent. A new client with the same name (case, punctuation and "Ltd" aside), website, tax number or email as one already there is refused with a 409 that names it by id; send allow_duplicate as true to add it anyway. A change that makes a client the same as another is refused the same way, and allow_duplicate saves it anyway.