Skip to content

Update application partner

POST
/api/v2/client/applications/{application_id}/partners/{partner_id}
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/partners/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "conversion_postbacks": [ { "conversion_type": "l", "postback_urls": [ "v" ], "events_mapping": "example", "click_filter": [ { "param": "q", "values": {} } ], "geo_filter": { "countries": [ "bn" ], "exclude": false }, "cost": 7, "send_organic": false } ], "link_settings": {}, "postback_url": "https://www.gulgowski.com/nihil-accusantium-harum-mollitia-modi-deserunt", "rejected_postback_url": "http://www.dubuque.net/quo-omnis-nostrum-aut-adipisci", "tracking_url_params": "p", "impressions_url_params": "w", "storages_links": [ { "store": "google", "link": "z" } ], "storages_links_apply_for_all": true }'
application_id
required
integer

The ID of the application.

Example
1
partner_id
required
integer

The ID of the partner.

Example
1
Media type application/json
object
conversion_postbacks
Array<object>
object
conversion_type
required

Must not be greater than 255 characters.

string
Example
l
postback_urls

Must not be greater than 4000 characters.

Array<string>
Example
[
"v"
]
events_mapping
string
click_filter
Array<object>
object
param
required

Must not be greater than 256 characters.

string
Example
q
values
required

Must have at least 1 items.

object
Example
{}
geo_filter
object
countries

The code of an existing record in the countries table. Must be 2 characters.

Array<string>
Example
[
"bn"
]
exclude
boolean
Example
false
cost
required

Must not be greater than 99999.99.

number
Example
7
send_organic
boolean
nullable
Example
false
link_settings
object
traffic_source
required

The name of an existing record in the traffic_sources table.

string
Example
architecto
fingerprint_available
required

Must be between 3600 and 2592000.

integer
Example
3601
device_id_available
required

Must be between 3600 and 2592000.

integer
Example
3600
impression_fingerprint_available

Must be between 3600 and 2592000.

integer
nullable
Example
3601
impression_device_id_available

Must be between 3600 and 2592000.

integer
nullable
Example
3600
re_attribution
required
boolean
Example
true
Example
{}
postback_url

Must not be greater than 4000 characters.

string
nullable
Example
https://www.gulgowski.com/nihil-accusantium-harum-mollitia-modi-deserunt
rejected_postback_url

Must not be greater than 4000 characters.

string
nullable
Example
http://www.dubuque.net/quo-omnis-nostrum-aut-adipisci
tracking_url_params

Must not be greater than 4000 characters.

string
nullable
Example
p
impressions_url_params

Must not be greater than 4000 characters.

string
nullable
Example
w
storages_links
Array<object>
object
store
required
string
Allowed values: google apple huawei samsung xiaomi telegram oppo vivo custom
Example
custom
link
required

Must not be greater than 4000 characters.

string
Example
z
storages_links_apply_for_all
boolean
nullable
Example
true
Media type application/json
object
message
string
Example
{
"message": "Application partner's settings has been successfully updated."
}