Create a customer
For accountType: "business" a non-empty telephone is required — the console enforces it on every later edit of the contact.
POST
/customerAuthorization
AuthorizationAPI key · headerrequiredThe Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.
Request body
application/jsonemailstringrequiredCustomer email.
firstNamestringrequiredFirst name.
lastNamestringrequiredLast name.
accountTypestringrequiredAccount type.
Allowed:
businessprivatetelephonestringPhone number. Required for business contacts.
companyNamestringCompany name.
departmentstringDepartment.
billingAddressFieldsany[]Billing addresses. Effectively required — omitting it currently fails with a 500 instead of a validation message.
deliveryAddressFieldsany[]Delivery addresses.
Responses
200
Created. Returns only the id — fetch the full Customer with the corresponding GET.
idinteger | stringrequiredId of the created Customer.
Show propertiesHide properties
One of:
integer
integerstring
string401
Authentication failed. All causes return this identical response.
codeintegermessagestringtypestringdefault
Downstream errors pass through verbatim; x-error-source names the failing service.
codeintegermessagestringtypestring