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

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.

Body

application/json
title
string
required
product
integer
required

Offer ID.

status
integer
currency
string | null

Currency code (e.g. USD, EUR). Only accepted when native_currency_commissions global setting 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 not persisted.

is_default
boolean
is_exclusive
boolean
internal_notes
string
assign_to_landing_page
integer

1=all, 2=specific.

landing_pages
integer[]

Offer URL IDs.

available_on_marketplace
boolean
geo
object
cpa
object
rev_share
object
cpl
object
cpc
object
flat_fee
object

Fixed recurring or one-time fee. Does NOT use type — always the same structure.

lot_based_fee
object
risk_management
object

Response

Commission plan created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object