Overview
Thecustomer.updated webhook is triggered when an existing customer’s information is updated in your Metrifox account.
When It’s Triggered
This event is sent immediately after a customer is successfully updated through:- The Metrifox API (
PUT /api/v1/customers/{customer_key}) - Any other customer update method
Payload Structure
Data Fields
Thedata.customer object contains the complete updated customer record with all current field values, including:
id: Internal customer IDcustomer_key: The unique customer key (immutable, unchanged on updates)name: Updated customer nameemail: Updated customer email addresstenant_id: The tenant ID this customer belongs tocreated_at: Original timestamp when the customer was createdupdated_at: Timestamp when the customer was updated (this event)- Additional custom fields as configured
The
customer_key field is immutable and will not change even if other customer information is updated.Example Use Cases
- Sync customer updates to your CRM system
- Update customer records in external systems
- Trigger workflows based on customer information changes
- Audit customer data changes

