Skip to main content
PUT
/
api
/
v2
/
network
/
commission-plan
/
{id}
Update commission plan (PUT)
curl --request PUT \
  --url 'https://{domain}/api/v2/network/commission-plan/{id}?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "string",
  "status": 1,
  "product": 1,
  "currency": "USD",
  "traffic_source_ids": [
    1
  ]
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
query
required

API key passed as query parameter. User must have api_status enabled.

Path Parameters

id
integer
required

Commission plan ID.

Body

application/json
title
string
status
integer
product
integer
currency
string | null

Currency code. Only accepted when native_currency_commissions is ON. Null or omitted = Brand Currency.

traffic_source_ids
integer[] | null

Traffic source IDs. Multi-select. null is accepted and treated as an empty array.

traffic_approaches_ids
integer[] | null

Traffic approaches IDs. null is accepted and treated as an empty array.

assigned_to
integer[]

Affiliate IDs. Deleted affiliates are ignored during validation and are removed from existing assignments on update.

is_default
boolean
is_exclusive
boolean
internal_notes
string
geo
object
cpa
object
rev_share
object
cpl
object
cpc
object
flat_fee
object

Fixed recurring or one-time fee. Does NOT use type.

lot_based_fee
object
risk_management
object

Response

Commission plan updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string