Create new customer
  • 28 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new customer

  • Dark
    Light
  • PDF

Article summary

Post
/customers/

Operation is used to create new customer. Available from product version 3.2.2.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

customer to be created

object
address
integer Required

Customer Apartment id

addressAlt
integer

Customer Apartment id

billingName
string

Customer billing name

businessId
string

Customer bussiness id

email
string

Customer email

mobilePhone
string

Customer mobile phone number name

name
string

Customer name

number
string

Customer number

phone
string

Customer phone number

smsProhibited
boolean

Sending sms is prohibited to customer

telefax
string

Customer fax number

type
integer

Customer type id

Responses
201

created customer data

object
address
integer

Customer Apartment id

addressAlt
integer

Customer Apartment id

billingName
string

Customer billing name

businessId
string

Customer bussiness id

createdBy
string

creator

createdTs
string (date-time)

Creation date and time

email
string

Customer email

id
integer

Primary key

mobilePhone
string

Customer mobile phone number name

name
string

Customer name

number
string

Customer number

phone
string

Customer phone number

smsProhibited
boolean

Sending sms is prohibited to customer

telefax
string

Customer fax number

type
integer

Customer type id

updatedBy
string

Last updater

updatedTs
string (date-time)

Last update date time

400

There was an error in request. Usually field validation failed.

object

Fields which failed validation

property*
Array of string additionalProperties

List of validation errors for this fieldname

string

Validation error

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?