Skip to main content
PATCH
Update customer

Autorisierungen

X-Api-Key
string
header
erforderlich

Pfadparameter

customer_id
string
erforderlich

Customer identifier

Beispiel:

"cust_r8s9t0u1"

Body

application/json

Partial update for a customer. Metadata is merged — only provided keys are added or overwritten. Set a key to null to remove it. Sending read-only fields (id, name, assigned_at, activated_at, created_at) returns a read_only_field error.

status
enum<string>

New customer status

Verfügbare Optionen:
pending,
active,
deactivated
balance_group
object

A balance group assignment

metadata
object

Key-value pairs to merge into existing metadata

Beispiel:

Antwort

Updated customer

A customer assigned to the BRP

id
string
erforderlich

Unique customer identifier

Beispiel:

"cust_r8s9t0u1"

name
string
erforderlich

Customer display name

Beispiel:

"SolarDach GmbH"

status
enum<string>
erforderlich

Customer status

Verfügbare Optionen:
pending,
active,
deactivated
Beispiel:

"active"

balance_group
object | null
erforderlich

A balance group assignment

metadata
object
erforderlich

BRP-defined key-value pairs (free-form)

Beispiel:
assigned_at
string<date-time>
erforderlich

ISO 8601 timestamp when the customer was assigned

Beispiel:

"2026-01-10T09:00:00Z"

created_at
string<date-time>
erforderlich

ISO 8601 creation timestamp

Beispiel:

"2026-01-10T09:00:00Z"

activated_at
string<date-time> | null

ISO 8601 timestamp when the customer was activated

Beispiel:

"2026-01-10T11:30:00Z"