/api/post-v1-projects-projectuuid-customers-bc9f7cc381
Войти
Все методы CustomerCustomerController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/customersAuthenticated

POST customers

Создаёт нового customer внутри проекта.

Operation ID
CustomerController.create.POST.v1_projects__projectUuid__customers
Handler
cdp.gateway.cdp_gateway.customer.controller.CustomerController#create
Consumes
Produces
Параметры1
Request bodyCustomerCreateRequestDTO
Response bodyResponseWrapper<Object>
Request map

Маршрут и контракт запроса

POST/v1/projects/{projectUuid}/customers
Path segments
v1projects{projectUuid}customers
Security
isAuthenticated()
Parameters

Параметры

ИмяИсточникТипОбязательныйNullableSchema
projectUuid
pathStringДаНет
Request / Response

Тела запроса и ответа

Request bodyCustomerCreateRequestDTO
Nullable: Нет
CustomerCreateRequestDTO
object • CustomerCreateRequestDTO
projectUuid
String
required • not-null
email
String
optional • nullable
phone
String
optional • nullable
firstName
String
optional • nullable
lastName
String
optional • nullable
customFields
Map<String, String>
optional • not-null
Набор key/value атрибутов клиента.
Response bodyResponseWrapper<Object>
Nullable: Нет
ResponseWrapper<Object>
object • ResponseWrapper<Object>
success
boolean
required • not-null
data
T
optional • nullable
error
CdpErrorResponse
optional • nullable • schema=CdpErrorResponse
CdpErrorResponse
object • CdpErrorResponse
errorId
String
required • not-null
code
String
required • not-null
message
String
required • not-null
details
Map<String, Object>
optional • not-null
fieldErrors
List<CdpFieldError>
optional • not-null
timestamp
long
optional • not-null
meta
Map<String, Object>
optional • not-null