Create a new customer

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
externalIdstringOptional
phonestringOptional
employeeCountdoubleOptional
annualRevenuedoubleOptional
taxExemptStatusenumOptional
Allowed values:
creationSourceenumOptional
Allowed values:
websitestringOptional
billingAddressobjectOptional
metadataobjectOptional
Flexible JSON field for storing custom metadata about the customer
contactslist of objectsOptional
Array of contacts to create for this customer

Response

Success response - customer already exists with this externalId

idstring
organizationIdstring
namestring
externalIdstring or null
phonestring or null
employeeCountdouble or null
annualRevenuedouble or null
taxExemptStatusenum or null
Allowed values:
creationSourceenum or null
Allowed values:
creationStateenum or null
Allowed values:
websitestring or null
billingAddressobject or null
metadataobject or null
Flexible JSON field for storing custom metadata about the customer