Get available promotions specific for project
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
idstringRequired
Project ID
Responses
200
OK
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successget/core/user/promo/available/project/{id}
GET /core/user/promo/available/project/{id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
OK
{
"code": 200,
"data": [
{
"amount_type": "text",
"amount_value": 1,
"b2b": true,
"b2c": true,
"created_at": "text",
"deletedAt": "text",
"description": "text",
"end_date": "text",
"id": "text",
"name": "text",
"postpaid": true,
"prepaid": true,
"start_date": "text",
"type": "text",
"updated_at": "text",
"voucher_id": "text"
}
],
"message": "Success"
}Last updated