POST
Create A Contact
Adds a customer or vendor. If one with the same name and type exists, that one is returned and nothing is added.
Parameters
organizationIdUUID!requiredOrganization ID
nameString!required"create_contact"
params.nameString!requiredThe contact's name
params.contact_typeString!requiredcustomer or vendor
params.emailStringEmail address
params.phoneStringPhone number
params.regionStringThe province of a customer's address, as a code (NS) or its name. Invoice tax follows it. Given for a contact that exists, it updates theirs
params.legal_nameStringA customer's legal name, printed on their invoices (blank: the name)
params.contact_nameStringThe person their invoices are marked for, printed as Attn:
params.billing_addressStringTheir billing address, one line per line
applyBooleantrue to keep it