customer.updated

The customer.updated event is triggered whenever a user's information gets updated either via the Pelcro Platform. Any information updates such as first or last name, Company, or title information trigger the customer update information.

{
    "type": "customer.updated",
    "id": "evt_UzR9XeMWIgIEjaYcpKRz1RJv",
    "created": 1624529862,
    "data": {
        "object": {
            "object": "customer",
            "id": 64,
            "balance": 0,
            "created": "2021-06-24 10:16:11",
            "currency": null,
            "default_source": null,
            "delinquent": false,
            "display_name": "display_name",
            "email": "[email protected]",
            "email_confirm": null,
            "first_name": "first name",
            "has_password": 0,
            "language": null,
            "last_name": "last name",
            "metadata": {
                "pelcro_account_id": "1",
                "pelcro_customer_id": "64"
            },
            "phone": "12345678",
            "phone_confirm": null,
            "salutation": "salutation",
            "title": "title",
            "subscriptions": null,
            "shipping_addresses": null,
            "billing_addresses": null
        },
        "previous_attributes": {
            "salutation": null,
            "title": null
        }
    }
}