Skip to content

Customer created

POST

Request Body

object
id

Read only

integer
created

Read only

string format: date-time
updated

Read only

string format: date-time
nombre
required
string
apellido1
string
apellido2
One of:
string
dni
One of:
string
movil
One of:
string
fijo
One of:
string
email
One of:
string format: email
direccion
One of:
string
localidad
One of:
string
codigo_postal
One of:
string
fecha_nacimiento
One of:
string format: date
is_suscrito_newsletter
boolean
default: true
is_suscrito_encuestas
boolean
default: true
is_active
boolean
default: true
is_sms_cliente_perdido_enviado

Read only

boolean
is_email_cliente_perdido_enviado

Read only

boolean
is_agree_notificaciones_sms
boolean
default: true
is_agree_notificaciones_email
boolean
default: true
sexo
One of:
string
Allowed values: h m
notas
One of:
string
foto
One of:

Read only

string format: uri
origen

Read only

string
descuento_ventas
number
is_citas_online
boolean
default: true
code

By default it is an autoincremental field, but it can be overwritten as long as there is no conflict

integer
manual_code
One of:
string
is_agree_rgpd

Read only

boolean
b64_firma_rgpd

Read only

string format: base64
fecha_firma_rgpd

Read only

string format: date
file_contrato_rgpd

Read only

string format: uri
is_anonymous

Read only

boolean
is_envios_sms

This field is required if you want to send SMS to the customer

boolean
is_envios_email

This field is required if you want to send emails to the customer

boolean
prefijo_tel
One of:
string
fecha_ultima_venta

Read only

string format: date
numero_ventas

Read only

integer
importe_ventas

Read only

number
importe_deudas

Read only

number
fecha_ultima_cita_realizada

Read only

string format: date
total_citas_realizadas

Read only

integer
fecha_alta

Read only

string format: date-time
provincia
One of:

Read only

object
id

Province identifier

integer
value

Province identifier

integer
text

Province name

string
created_by
One of:

Read only

object
value

User identifier

integer
text

User name

string
color
string format: hex
username
string format: email
foto_url_absolute_path
string format: uri
categoria
One of:

Read only

object
value
integer
text
string
nombre
string
id
integer
orden
One of:
integer
is_active
boolean
como_nos_conocio
One of:

Read only

object
value
integer
text
string
informacion_clinica
One of:
string