stripe.customers.update_customer ​
Update a Stripe customer
Update mutable fields on an existing customer. Only the fields supplied are sent; anything omitted is left untouched.
Acts on the CUSTOMER'S OWN Stripe account, authenticated via the org-scoped Stripe connection selected by cloud_connection_uuid.
Inputs:
- cloud_connection_uuid: Org-scoped Stripe connection (customer's own account).
- customer_id: Stripe customer ID (cus_...).
- email: New email address (optional).
- name: New full name (optional).
- description: New internal description (optional).
- metadata: Metadata keys to set (merged by Stripe) (optional).
Outputs (terminal state_data):
- customer_id: str
- email: str
- name: str
Connection required: cloud_connection_uuid — the organization's own Stripe account credentials; there is no platform-key fallback.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-stripe |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
cloud_connection_uuid | uuid | Yes | — | Org-scoped Stripe connection (customer's own account) |
customer_id | string | Yes | — | Stripe customer ID (cus_...) |
email | string | No | — | New email address |
name | string | No | — | New full name |
description | string | No | — | New internal description |
metadata | json | No | — | Metadata keys to set (merged by Stripe) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
customer_id | string | No | — | — |
email | string | No | — | — |
name | string | No | — | — |
cloud_connection_uuid | uuid | No | — | — |
description | string | No | — | — |
metadata | json | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_layer | integer | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "stripe.customers.update_customer",
"initial_data": {
"cloud_connection_uuid": "value",
"customer_id": "value"
}
}