Create a new Customer
POST
/v{version}/customersCreate a new Customer...
Request
Path Params
version
string
required
The requested API version
Default:
2.0
Body Params application/x-www-form-urlencoded
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
$ref(#/definitions/4439369)[]
optional
Gets or Sets CustomerAddresses
#/definitions/4439369
optional
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Forbidden(403)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK
Data Schema
No schema defined
Example
Not configured
Last modified: 5 days ago