Skip to main content
PATCH
Update Customer

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

id

Body

application/json

request

company_name
string
Maximum string length: 255
Example:

"Company Name"

display_name
string
Maximum string length: 255
Example:

"Customer Display Name"

reference_id
string
Maximum string length: 255
Example:

"CUS123"

display_id
string
Maximum string length: 255
Example:

"1234567890"

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
assigned_sales_rep_ids
string[]
Minimum array length: 1
assigned_price_list_id
string
first_name
string
Maximum string length: 255
Example:

"John"

last_name
string
Maximum string length: 255
Example:

"Doe"

phone
string
Example:

"+14155552671"

email
string
Example:

"john.doe@example.com"

addresses
object[]
contacts
object[]
attributes
object[]
tax_rate
number
Example:

0

customer_type
string

Any text; stored in type_of_customer

Example:

"customer"

status
enum<string>
Available options:
active,
inactive
Example:

"active"

Response

Created

data
object