Update a customer by ID. Only provided fields are updated (partial update). Accepts either a Lava customer_id (con_xxx) or your reference_id.
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Customer ID (con_xxx) or your reference_id.
Contact name for this customer.
255"Jane Smith"
Contact email for this customer.
"jane@example.com"
Contact phone in E.164 format.
"+14155552671"
Your external identifier for this customer.
255"usr_abc123"
Arbitrary key-value metadata. Set to null to clear.
{ "plan_tier": "enterprise" }Updated customer
Unique identifier for the customer
"con_test_01EXAMPLE00000000000000001"
Merchant's external identifier for this customer. Used for idempotent creation — POST with the same reference_id returns the existing customer.
"usr_abc123"
Active subscription summary, or null if none
Arbitrary key-value metadata stored on the customer. Set via PATCH.
{
"plan_tier": "enterprise",
"internal_id": "12345"
}ISO 8601 timestamp when the customer was created
"2023-05-15T08:35:42Z"