Skip to main content
POST
Reject a CPL order
Same as Reject on the CPL Orders page. order_id is the cplo_… public id; comment is optional and shown to the client as the reason. The returned row has status rejected. Unknown ids, orders that are not yours and numeric internal ids answer 404 Order not found.

Authorizations

Authorization
string
header
required

API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.

Body

application/json
order_id
string
required

Order public id (cplo_…).

comment
string

Reason shown to the client.

Response

200 - application/json

Success (check status; errors are also HTTP 200)

status
enum<string>
Available options:
success
message
string

Confirmation text from the platform, when present.

data
object