Skip to main content
POST
Create new customers

Authorizations

X-API-KEY
string
header
required

API key for the Twice API

Body

application/json

Body

firstName
string
required
lastName
string
phone
string
email
string<email>
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
homeAddress
object
accommodation
string
language
string
customerType
enum<string>
Available options:
individual,
business
companyName
string
taxId
string
dateOfBirth
string
billingAddress
object
shippingAddress
object
attributes
object

Response

201

ids
string[]
required