Skip to main content
POST
/
cpl
/
offers
/
{id}
/
partner-name
Set or clear the marketer's custom display name.
curl --request POST \
  --url https://studio-api.onlytraffic.com/api/external/v1/cpl/offers/{id}/partner-name \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "custom_name": "<string>"
}
'
{
  "success": true,
  "data": {
    "offer_id": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://onlytraffic.com/docs/llms.txt

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

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Path Parameters

id
integer
required

Numeric resource id.

Required range: x >= 1

Body

application/json
custom_name
string

Custom display name for this marketer. Letters / digits / spaces / underscore / hyphen / dot. Empty value clears any previously set name.

Required string length: 1 - 15
Pattern: ^[\p{L}\p{N} _\-\.]+$

Response

Saved.

success
boolean
data
object