Skip to content

Update application general settings

POST
/api/v2/client/applications/{application_id}/general
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/general \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "timezone": "Europe/Moscow", "currency_iso": "USD", "probabilistic": false, "is_default": true, "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..." }'
application_id
required
integer

The ID of the application.

Example
1
Media type application/json
object
timezone
required

The timezone for the application.

string
Example
Europe/Moscow
currency_iso
required

The currency ISO code.

string
Example
USD
probabilistic
required

Whether probabilistic attribution is enabled.

boolean
Example
false
is_default

Marks the application as the default one. Only true is accepted.

boolean
Example
true
icon

The application icon as a base64 data uri, up to 5 mb. Accepted types: image/png, image/jpeg, image/gif. Leave it out to keep the current icon.

string
Example
data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...
Media type application/json
object
message
string
Example
{
"message": "Application general successfully updated"
}