Skip to main content
POST
/
api
/
adjustment
/
create
Create adjustment
curl --request POST \
  --url 'https://{domain}/api/adjustment/create?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action_id": 1,
  "conditions": {
    "dates_range": {
      "from": "string",
      "to": "string"
    },
    "conversion_status": [
      "pending"
    ],
    "offer": [
      1
    ],
    "goal": [
      1
    ],
    "track_ids": [
      "string"
    ]
  },
  "parameters": {
    "conv_status": "pending",
    "revenue": 1,
    "payout": 1,
    "amount": 1,
    "adv_order_id": "string"
  },
  "notes": "string",
  "fire_affiliate_postback": true
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>",
  "info": {
    "adjustment": {}
  }
}

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
action_id
integer
required

Action type: 1=change_status, 2=change_payouts, 3=insert_conversions, 4=insert_via_csv.

conditions
object

Filter conditions for bulk operations.

parameters
object

Fields to modify for bulk operations.

details
object

Action-specific details.

notes
string

Admin notes.

fire_affiliate_postback
boolean

Whether to fire postbacks after adjustment.

Response

Adjustment created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object