Return a Customer by Code
GET
/v{version}/customers/FindByCode/{customerCode}Return a Customer by Code...
Request
Path Params
customerCode
string
required
version
string
required
The requested API version
Default:
2.0
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Forbidden(403)
Record Not Found(404)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK
Data Schema
status_code
integer <int32>
optional
Gets or sets the status_code.
error_message
string
optional
Gets or sets the error_message.
result
object (CustomerViewModel)
optional
id
integer <int32>
optional
Gets or Sets Id
name
string
required
Gets or Sets Name
code
string
required
Gets or Sets Code
relatedaccountcode
string
optional
Gets or Sets Code
phone
string
optional
Gets or Sets Phone
mobile
string
optional
Gets or Sets Mobile
email
string
optional
Gets or Sets Email
payment_type
string
optional
Gets or Sets PaymentType
credit_limit
number <double>
optional
Gets or Sets CreditLimit
balance
number <double>
optional
Gets or Sets Balance
shipping_term
string
optional
Gets or Sets ShippingTerm
insurance
string
optional
Gets or Sets Insurance
has_discount
boolean
optional
Gets or Sets HasDiscount
discount_from
number <double>
optional
Gets or Sets Discount From
discount_to
number <double>
optional
Gets or Sets Discount To
customer_type
string
optional
Gets or Sets Customer Type ID
pricing_type
string
optional
Gets or Sets Pricing Type
payment_max_due_days
integer <int32>
optional
Gets or Sets Payment Max Due Days
related_account_id
integer <int32>
optional
Returns the string presentation of the object
related_account_parent_id
integer <int32>
optional
Gets or Sets Related Account Parent Id
tax_registeration_id
string
optional
Gets or Sets Tax Registeration Id
external_id
string
optional
Gets or Sets External ID
customer_addresses
array[object (CustomerAddressViewModel) {11}]
optional
Gets or Sets CustomerAddresses
total_count
integer <int32>
optional
Example
Not configured
Last modified: 5 days ago