Skip to main content
POST
/
cpc
/
orders
/
{public_id}
/
stop
Stop a CPC order.
curl --request POST \
  --url https://studio-api.onlytraffic.com/api/external/v1/cpc/orders/{public_id}/stop \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "order_id": "<string>"
  }
}

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.

Stop is permitted only on the legacy offer_id=1 tier and only while the order is accepted. Use the can_stop flag returned by GET /cpc/orders to know whether the action is available for a given order.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Path Parameters

public_id
string
required

Resource public id. Format varies by endpoint: cplo_xxxxxxx for CPL orders, cpco_xxxxxxx for CPC orders, swpo_xxxxxxx for swap orders, cpcr_xxxxxxx for CPC creatives, revi_xxxxxxx for RevShare invoices.

Pattern: ^[a-z0-9_]+$

Response

Stopped.

success
boolean
data
object