Skip to main content
POST
Create Customer

Authorizations

X-API-Key
string
header
required

API Key for authentication

Body

application/json

request

reference_id
string
required
Maximum string length: 255
Example:

"CUS123"

assigned_sales_rep_ids
string[]
required

List of sales rep ids, sales rep id is a uuid can be queried from sales rep api

Minimum array length: 1
assigned_price_list_id
string
required

Price list id is a uuid can be queried from price list api

company_name
string
Maximum string length: 255
Example:

"Company Name"

display_id
string

This is the display ID of the customer, it is generated by the system if not provided.

Maximum string length: 255
Example:

"1234567890"

display_name
string
Maximum string length: 255
Example:

"Customer Display Name"

freight_term
string
Maximum string length: 255
shipping_method
string
Maximum string length: 255
payment_mode
string
Maximum string length: 255
payment_term
string
Maximum string length: 255
first_name
string
Maximum string length: 255
Example:

"John"

last_name
string
Maximum string length: 255
Example:

"Doe"

phone
string

Phone number in E.164 format

Example:

"+14155552671"

email
string
Example:

"john.doe@example.com"

addresses
object[]
contacts
object[]
attributes
object[]

Response

Created

data
object