Skip to content

Update offer​

PUT
/api/offers/{id}

Authorizations​

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

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
{
  
"name": "string",
  
"url": "string",
  
"network_id": 0,
  
"payout": 0,
  
"payout_type": "string",
  
"currency": "string",
  
"geo_targets": "string",
  
"daily_cap": 0,
  
"total_cap": 0,
  
"cap_reset_interval": "string",
  
"cap_reset_start": "string",
  
"cap_timezone": "string",
  
"alternative_offer_id": 0,
  
"cap_priority": 0,
  
"upsell": true,
  
"group_id": 0
}

Responses​

Offer updated

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

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI