Skip to main content
POST
cURL
Create a new customer. Idempotent when customerId is provided.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
email
string<email>
requerido
Maximum string length: 200
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
id
string
Maximum string length: 100
externalId
string
Maximum string length: 100
fullName
string
Maximum string length: 200
taxDocument
string
Maximum string length: 50
address
object
addressId
string<uuid>
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
timezone
enum<string>
predeterminado:UTC
Opciones disponibles:
UTC,
America/New_York,
America/Chicago,
America/Denver,
America/Los_Angeles,
America/Sao_Paulo,
America/Mexico_City,
America/Buenos_Aires,
America/Santiago,
America/Bogota,
America/Lima,
America/Asuncion,
Europe/London,
Europe/Paris,
Europe/Berlin,
Europe/Madrid,
Asia/Tokyo,
Asia/Shanghai,
Asia/Singapore,
Asia/Dubai,
Australia/Sydney
metadata
object

Respuesta

Success

id
string
requerido
externalId
string | null
requerido
fullName
string | null
requerido
email
string
requerido
taxDocument
string | null
requerido
documentType
string | null
requerido
timezone
string | null
requerido
metadata
object | null
requerido
createdAt
string<date-time>
requerido
updatedAt
string<date-time>
requerido
object
string
requerido
Allowed value: "customer"
livemode
boolean
requerido