Skip to content

Update offer cap​

PUT
/api/offers/{id}/cap

Authorizations​

ApiKeyHeader
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
{
  
"daily_cap": 0,
  
"total_cap": 0,
  
"daily_count": 0,
  
"total_count": 0,
  
"cap_reset_interval": "string",
  
"cap_reset_start": "string",
  
"cap_timezone": "string",
  
"alternative_offer_id": 0
}

Responses​

Cap updated

application/json
JSON
{
  
"message": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI