Skip to Content
TrackCrest Docs

Update postback

Change a postback. Fields left out stay as they are.

PATCH
/api/v1/affiliate/postbacks/{publicId}

Requires scope postbacks:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Request Body

application/json
  1. body
url?string|null
offerId?|
Formatint32
event?string|null
trigger?string|null

Response Body

OK

application/json
  1. response
data?
Example Request
curl -X PATCH 'https://trakcrt.com/api/v1/affiliate/postbacks/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "publicId": 0,    "url": "string",    "offer": {      "publicId": 0,      "name": "string"    },    "event": "string",    "trigger": "string",    "status": "string",    "createdAt": "2019-08-24T14:15:22Z"  }}