Saltar al contenido principal
POST
/
v1
/
planning
/
customers
Create a new customer
curl --request POST \
  --url https://api.bold-factory.com/v1/planning/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Acme Corp",
  "externalReference": "REF123456"
}
'
{
  "id": "cus_1mnbe80001w0m7qy",
  "externalReference": "CLI0007",
  "name": "Industrias Manolito",
  "deletedAt": null,
  "createdAt": "2025-12-29T17:32:58.4234296+00:00",
  "createdBy": "Cecilia.Valles@example.net",
  "lastModifiedAt": "2025-12-31T19:01:44.2841441+00:00",
  "lastModifiedBy": "Claudia52@example.com"
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Cuerpo

application/json
name
string
requerido
externalReference
null | string

Respuesta

Created

id
string
requerido
externalReference
null | string
requerido
name
string
requerido
deletedAt
null | string<date-time>
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido