Skip to main content
PATCH
/
v2
/
outreach-workflows
/
{workflow_id}
/
statement-schedule
/
{schedule_id}
Update a statement schedule
curl --request PATCH \
  --url https://api.example.com/v2/outreach-workflows/{workflow_id}/statement-schedule/{schedule_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "day_of_week": 3,
  "day_of_month": 16,
  "week_of_month": 3,
  "email_template": "<string>",
  "auto_send": true,
  "include_credit_memos": true,
  "include_disputed_items": true,
  "cc": [
    "<string>"
  ],
  "bcc": [
    "<string>"
  ],
  "cc_secondary_contacts": true,
  "external_roles_to_cc": [],
  "internal_roles_to_cc": []
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "is_active": true,
  "day_of_week": 123,
  "day_of_month": 123,
  "week_of_month": 123,
  "biweekly_anchor_date": "2023-12-25",
  "include_credit_memos": true,
  "include_disputed_items": true,
  "auto_send": true,
  "cc": [
    "<string>"
  ],
  "bcc": [
    "<string>"
  ],
  "cc_secondary_contacts": true,
  "external_roles_to_cc": [
    "<string>"
  ],
  "internal_roles_to_cc": [
    "<string>"
  ],
  "email_template": {
    "id": "<string>",
    "name": "<string>"
  },
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.api.stuut.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required
schedule_id
string
required

Body

application/json
frequency
enum<string> | null
Available options:
weekly,
biweekly,
monthly
day_of_week
integer | null
Required range: 0 <= x <= 6
day_of_month
integer | null
Required range: 1 <= x <= 31
week_of_month
integer | null
Required range: 1 <= x <= 5
email_template
string | null

Email template ID

auto_send
boolean | null
include_credit_memos
boolean | null
include_disputed_items
boolean | null
cc
string[] | null
bcc
string[] | null
cc_secondary_contacts
boolean | null
external_roles_to_cc
enum<string>[] | null
Available options:
billing_contact,
executive,
economic_user
internal_roles_to_cc
enum<string>[] | null
Available options:
account_manager,
account_executive,
csm,
lead,
co_lead,
practice_lead

Response

Successful Response

created_at
string<date-time>
required
modified_at
string<date-time> | null
required
id
string
required
is_active
boolean
required
frequency
enum<string>
required

How often to send the statement

Available options:
weekly,
biweekly,
monthly
day_of_week
integer | null
required

Day of week (0=Monday, 6=Sunday). Required for WEEKLY/BIWEEKLY.

day_of_month
integer | null
required

Day of month (1-31). Required for MONTHLY day-of-month mode. Falls back to last day if month is shorter.

week_of_month
integer | null
required

Week occurrence (1-5, where 5=last). Used with day_of_week for monthly day-of-week mode.

biweekly_anchor_date
string<date> | null
required

Anchor date for biweekly cadence calculation. Required for BIWEEKLY.

include_credit_memos
boolean
required
include_disputed_items
boolean
required
auto_send
boolean
required
cc
string[] | null
required
bcc
string[] | null
required
cc_secondary_contacts
boolean
required
external_roles_to_cc
string[] | null
required
internal_roles_to_cc
string[] | null
required
email_template
EmailTemplateSummary · object
required
object
string
required
read-only

String representing the object's type. Objects of the same type share the same value.