Overview / Finance / Update a schedule

Update a schedule

patch https://api.flactrum.com/v1/report-schedules/{schedule}
Required scope reports.write
Success status200
Returns One ReportSchedule object

Parameters

NameInTypeDescription
schedule * path string ULID of the record.

Request body

FieldTypeDescription
name * string —
category * string —
period_type * string —
branch_id string|null —
recipients * array At least one — a schedule with no recipients silently does nothing.
format string —
send_at * string —
days_of_week array —
is_active boolean —

Response fields

FieldTypeDescription
id string —
name string —
category string —
period_type string —
branch_id string|null —
recipients array —
format string —
send_at string —
days_of_week array|null Empty means every day. 1 is Monday.
is_active boolean —
last_sent_at string|null —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X PATCH 'https://api.flactrum.com/v1/report-schedules/01m43myb3nzgbrvyjd25jyfj9t' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Content-Type: application/json' \
  -d '{
    "format": "xlsx"
}'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43myb3nzgbrvyjd25jyfj9t",
        "name": "Günlük finans özeti",
        "category": "financial",
        "period_type": "daily",
        "branch_id": null,
        "recipients": [
            "patron@ornek.com"
        ],
        "format": "xlsx",
        "send_at": "08:00:00",
        "days_of_week": [
            1,
            2,
            3,
            4,
            5
        ],
        "is_active": true,
        "last_sent_at": null,
        "created_at": "2026-10-04T14:26:31+00:00",
        "updated_at": "2026-10-04T14:26:31+00:00"
    }
}