Skip to main content
PATCH
Update a cash flow scenario

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

id
string
required

UUID of the cash flow scenario.

Example:

"6c1e9a72-4d3b-4f8e-8a1c-2b6d7e9f0a3b"

Body

application/json
name
string

New display name. Must be non-empty and unique for the organization when provided.

color
enum<string>

New color key used to display the scenario. SCENARIO_COLOR_GREY is reserved for the main scenario and cannot be assigned here.

Available options:
SCENARIO_COLOR_ORANGE,
SCENARIO_COLOR_GREEN,
SCENARIO_COLOR_RED,
SCENARIO_COLOR_PURPLE,
SCENARIO_COLOR_CYAN,
SCENARIO_COLOR_YELLOW,
SCENARIO_COLOR_PEACH,
SCENARIO_COLOR_PURPLE_LIGHT,
SCENARIO_COLOR_PINK

Response

Returns the updated cash flow scenario.

cash_flow_scenario
object
required

A cash flow scenario. Scenarios group per-category monthly targets under a named projection. Every organization has exactly one main scenario (is_main: true), which cannot be deleted. Additional scenarios can be created, updated, and deleted.