Create a new customer

Creates a new customer for the organization

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
namestringRequired>=1 character
legalNamestring or nullOptional
emailstringOptionalformat: "email"
phonestringOptional
websitestringOptional
externalIdstring or nullOptional
billingAddressobjectOptional
creationStateenumOptional
Allowed values:
vatNumberstring or nullOptional
metadatamap from strings to any or nullOptional
defaultCurrencystringOptional

Response

201
idstring
namestring
legalNamestring or null
emailstring
phonestring
websitestring
externalIdstring or null
creationStateenum
Allowed values:
churnDatedatetime or null
vatNumberstring or null
metadatamap from strings to any or null
defaultCurrencystring
createdAtdatetime
updatedAtdatetime
billingAddressobject

Errors

400
Bad Request Error
403
Forbidden Error
500
Internal Server Error