Skip to main content
PATCH
Update a trading plan

Authorizations

Authorization
string
header
required

JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.

Path Parameters

planId
string
required

The plan ID to update

Body

application/json
name
string

New plan name (must be unique)

Example:

"Updated Plan Name"

description
string

New description (null to clear)

Example:

"Updated description"

price
number

New price

Example:

349

currency
string

New currency code

Example:

"EUR"

durationDays
number

New duration (null = unlimited)

Example:

45

accountSize
number

New account size

Example:

150000

tradingRuleId
string

New trading rule ID

isActive
boolean

Enable/disable plan

metadata
object

New metadata. Replaces existing metadata wholesale unless mergeMetadata is true.

Example:
mergeMetadata
boolean

When true, the provided metadata keys are merged into the existing metadata instead of replacing it entirely

Example:

true

Response

Plan updated successfully

success
boolean
Example:

true

message
string
Example:

"Trading plan updated successfully"

data
object