Skip to main content
POST
Create a customer
Body raw (json)

Authorizations

x-api-key
string
header
required

Body

application/json
first_name
string
Maximum string length: 255
last_name
string
Maximum string length: 255
display_name
string

Required if first_name and last_name are not provided or empty and should be unique.

Maximum string length: 255
email
string<email>
Maximum string length: 255
phone
string

Should be valid phone number.

Maximum string length: 255
notes
string
Maximum string length: 7500
has_different_billing_address
boolean
status
enum<string>
Available options:
lead,
opportunity,
current customer,
lost,
other,
inactive
company_name
string
Maximum string length: 255
alt_email
string<email>
Maximum string length: 255
billing_address_1
string
Maximum string length: 1000
billing_address_2
string
Maximum string length: 1000
billing_city
string
Maximum string length: 255
billing_state
string
Maximum string length: 255
billing_zip_code
string
Maximum string length: 255
assigned_to
integer | null

The id of user whom assigned the customer.

secondary_email
string<email>
Maximum string length: 255
secondary_phone
string

Should be valid phone number.

Maximum string length: 255
service_address_1
string
Maximum string length: 255
service_address_2
string
Maximum string length: 255
service_address_city
string
Maximum string length: 255
service_address_state
string
Maximum string length: 255
service_address_zip_code
string
Maximum string length: 255
job_notes
string
Maximum string length: 4000
customfields
object[]

Array of custom fields.

locations
object[]

Array for creating customer location(s).

account_type
enum<string>
default:individual

Indicate customer type.

Available options:
individual,
company
pipeline_status_id
integer

Existing pipeline status id.

lead_source_id
integer

Existing lead source id.

tags
integer[]

Array of existing customer tag ids.

notify_self_assigned
boolean | null

When true, the assignee is notified even if they are the user making the request.

Response

Created

error
boolean

false when the request succeeds.

Example:

false

response
object

The created record.