/api/put-v1-projects-projectuuid-customers-customeruuid-62b7397786
Войти
Все методы CustomerCustomerController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
PUT/v1/projects/{projectUuid}/customers/{customerUuid}Authenticated

PUT customers

Обновляет customer внутри проекта.

Operation ID
CustomerController.update.PUT.v1_projects__projectUuid__customers__customerUuid_
Handler
cdp.gateway.cdp_gateway.customer.controller.CustomerController#update
Consumes
Produces
Параметры2
Request bodyCustomerUpdateRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

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

Параметры

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

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

Request bodyCustomerUpdateRequestDTO
Nullable: Нет
CustomerUpdateRequestDTO
object • CustomerUpdateRequestDTO
projectUuid
String
required • not-null
customerUuid
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