Cap Offers

Update cap offer

Update an existing cap offer.

put/api/v1/cap-offers/{cap_offer_id}

Path parameters

cap_offer_idstring uuid required

Request body

namestring nullable
capType'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | 'PERMANENT'

Enum for cap types

capSizeinteger nullable
keitaroIdsinteger[] nullable
commentsstring nullable

Example request

{
  "capSize": 150,
  "comments": "Increased cap size due to high-quality traffic",
  "name": "Updated Casino VIP Daily Cap"
}

Response

Successful Response

idstring uuid required
namestring required
capType'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | 'PERMANENT' required

Enum for cap types

capSizeinteger required
actualCapSizeinteger nullable
keitaroIdsinteger[] required
commentsstring nullable
userIdstring uuid nullable
createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "capSize": 100,
  "capType": "DAILY",
  "comments": "High-value casino offers for tier 1 GEOs only",
  "createdAt": "2024-01-15T10:30:00Z",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "keitaroIds": [
    123,
    456,
    789
  ],
  "name": "Casino VIP Daily Cap",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.