Update an existing Customer
PUT
/v{version}/customers/UpdateByCode/{customerCode}
Sales
Request
Path Params
customerCode
string
required
version
string
required
Default:
2.0
Body Params application/x-www-form-urlencoded
id
integer <int32>
optional
name
string
required
code
string
required
relatedaccountcode
string
optional
phone
string
optional
mobile
string
optional
email
string
optional
payment_type
string
optional
credit_limit
number <double>
optional
balance
number <double>
optional
shipping_term
string
optional
insurance
string
optional
has_discount
boolean
optional
discount_from
number <double>
optional
discount_to
number <double>
optional
customer_type
string
optional
pricing_type
string
optional
payment_max_due_days
integer <int32>
optional
related_account_id
integer <int32>
optional
related_account_parent_id
integer <int32>
optional
tax_registeration_id
string
optional
external_id
string
optional
customer_addresses
array[object (CustomerAddressViewModel) {11}]
optional
id
integer <int32>
optional
customer_id
integer <int32>
optional
name
string
optional
country_id
integer <int32>
optional
city_id
integer <int32>
optional
district_id
integer <int32>
optional
street
string
optional
description
string
optional
is_default
boolean
optional
entity_state
string
optional
address_phone
string
optional
Request samples
Responses
Modified at 2025-02-10 16:54:43