Skip to main content
POST
Crear camello (JSON o multipart con foto)

Authorizations

next-auth.session-token
string
cookie
required

Body

name
string
required
Required string length: 2 - 160
trades
string[]
required
Required array length: 1 - 20 elements
Required string length: 1 - 160
documentId
string | null
phone
string | null
serviceIds
string[]
Maximum array length: 50
city
string | null
neighborhood
string | null
professionalCard
string | null
status
enum<string>
default:PENDIENTE
Available options:
ACTIVO,
INACTIVO,
PENDIENTE
premium
boolean
default:false
notes
string | null
Maximum string length: 5000
description
string | null
Maximum string length: 5000
priceFrom
integer | null
Required range: 0 <= x <= 99999999
priceUnit
enum<string> | null
Available options:
hora,
servicio,
dia
windows
object[]

Si se envia, reemplaza todas las franjas. Vacio las borra.

Maximum array length: 21

Response

Camello creado

camello
object
required