Skip to navigation

Create customer

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired<=255 characters
document_typeenum or nullOptional
Allowed values:
document_numberstring or nullOptional<=50 characters
emailstring or nullOptionalformat: "email"<=255 characters
phonestring or nullOptional<=30 characters
addressstring or nullOptional<=255 characters
is_activebooleanOptional

Response

Customer created successfully.
idinteger
namestring
document_typeenum or null
Allowed values:
document_numberstring or null
emailstring or nullformat: "email"
phonestring or null
addressstring or null
is_activeboolean
created_atdatetime

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error