Customers
Create Customer
Creates a new Customer from the information sent in the body.
POST
/
customers
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
name
string
requiredFull name of the customer.
documentType
enum<string>
requiredType of identification document (cc, ce, nit).
Available options:
cc
, ce
, nit
documentNumber
string
requiredIdentification document number.
email
string
requiredEmail address of the customer.
Response
201 - application/json
id
string
Unique identifier for this customer.
name
string
First and last name for a natural person, and company name for a juridical person.
documentType
enum<string>
Colombian ID type for customer.
Available options:
cc
, ce
, nit
documentNumber
string
Colombian ID number for customer.
email
string
Customer’s email.
createdAt
string
ISO string when the customer was created.
updatedAt
string
ISO string when the customer was updated.