Skip to main content
PUT
Update landing page

Authorizations

X-API-Key
string
header
required

Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Path Parameters

offer_id
integer
required

Offer ID.

url_id
integer
required

Landing page ID.

Body

application/json
title
string
Maximum string length: 128
url
string
status
integer

Landing page status to set: 1=active, 3=inactive.

type
integer
preview
string
visible_to_all_affiliates
enum<integer>
Available options:
0,
1
visible_to_specific_affiliates_only

Affiliates the landing page is limited to. Accepts a comma-separated string of IDs, a list of IDs, or the list of {id, title} objects GET returns (only id is read). An empty string or list clears it. Anything else, or an ID with no affiliate, is a validation error.

Example:

"12,15"

geo_allowed
string
geo_denied
string
rules
string
percent
integer
language
string
image_data
string
image_data_delete
boolean

Response

Landing page updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object