/api/post-v1-loyalty-programs-f0b43099f6
Войти
Все методы LoyaltyLoyaltyController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/loyalty/programsAuthenticated

POST programs

Маршрут POST /v1/loyalty/programs из LoyaltyController. Детализация собрана из API manifest gateway.

Operation ID
LoyaltyController.createProgram.POST.v1_loyalty_programs
Handler
cdp.gateway.cdp_gateway.loyalty.controller.LoyaltyController#createProgram
Consumes
Produces
Параметры0
Request bodyCreateLoyaltyProgramRequest
Response bodyResponseWrapper<Object>
Request map

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

POST/v1/loyalty/programs
Path segments
v1loyaltyprograms
Security
isAuthenticated()
Parameters

Параметры

У метода нет параметров.
Request / Response

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

Request bodyCreateLoyaltyProgramRequest
Nullable: Нет
CreateLoyaltyProgramRequest
object • CreateLoyaltyProgramRequest
projectUuid
String
required • not-null
code
String
required • not-null
name
String
required • not-null
description
String
optional • nullable
graphDslJson
String
optional • nullable
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