Update brand settings
patch
https://api.flactrum.com/v1/settings
The slug cannot be changed here: it is the panel address, and moving it would break every saved link at once.
| Required scope | settings.write |
| Success status | 200 |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | — |
| legal_name | string|null | — |
| tax_number | string|null | — |
| tax_office | string|null | — |
| business_type | string | — |
| franchise_structure | string | — |
| branch_count_band | string | — |
| country | string|null | — |
| city | string|null | — |
| timezone | string | — |
| currency | string | — |
| logo | string | Brand logo image, max 2 MB. multipart/form-data, POST with _method=PATCH. |
| login_background | string | Login page background: jpg, png or webp, at least 800×600, max 4 MB. |
| remove_logo | boolean | — |
| remove_login_background | boolean | — |
| two_factor_required | boolean | Head office admin only, and only after setting up two-factor on their own account. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X PATCH 'https://api.flactrum.com/v1/settings' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Content-Type: application/json' \
-d '{
"name": "Greenbay Coffee Co.",
"city": "İstanbul",
"currency": "try"
}'
HTTP 200 · application/json
{
"data": {
"id": "01m43mzs857k7063sttbxp2es9",
"name": "Greenbay Coffee Co.",
"slug": "test-brand",
"legal_name": "Pektemek Telekomünikasyon Ltd. Şti. A.Ş.",
"tax_number": "0490267511",
"tax_office": null,
"business_type": "kahve",
"franchise_structure": "own",
"branch_count_band": "6-20",
"country": "Türkiye",
"city": "İstanbul",
"timezone": "Europe/Istanbul",
"currency": "TRY",
"logo_url": null,
"login_background_url": null,
"two_factor_required": false,
"can_manage_two_factor": false,
"is_active": true
},
"meta": {
"capabilities": [
"qr_menu",
"marketplace",
"office",
"warehouses",
"report_studio",
"webhooks",
"table_service",
"kiosk",
"mobile_app",
"loyalty",
"api",
"shift_forecast",
"e_invoice"
]
}
}