update_customer_metadata
Update metadata key-value pairs on a Stripe customer. Existing keys not specified remain unchanged.
Instructions
Updates the metadata key-value pairs on a Stripe customer. Existing keys not included in the request are left unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"metadata": "<metadata>"
},
"name": "update_customer_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | The ID of the customer to update (e.g., 'cus_123'). | |
| metadata | Yes | Key-value pairs to set on the customer's metadata. |