Create a customer
Creates a customer record with standard and custom customer fields.
POST
/api/customersCreates a customer record with standard and custom customer fields.
Request Body
application/json
Request payload for Create a customer.
type*string
Customer type classification.
Value in
"individual" | "company"Example
"company"name?|
Customer name.
email?|
Primary customer email.
phone?|
Primary phone number.
address?|
Primary address.
website?|
Customer website URL.
country?|
Country code or label.
idType?|
Government or tax identifier type.
idValue?|
Government or tax identifier value.
note?|
Internal note about the customer.
addresses?array<>|
Additional customer addresses.
customFields?|
Custom field values to persist on the customer.
memberships?array<>|
Customer-contact memberships to create or update with the customer.
[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json