Skip to main content
POST
Create custom param

Authorizations

X-API-Key
string
header
required

Preferred authentication method. 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.

Body

application/json
status
integer
required

1=active, 3=inactive.

start_date
string
required

Start date (YYYY-MM-DD format).

end_date
string
required

End date (YYYY-MM-DD format). Required — omitting causes 500.

parameters
object[]
required

Array of {name, value} parameter overrides.

affiliates
string

Comma-separated affiliate IDs.

conditions
object[]

Conditions array.

Response

Custom param created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object