customer.created

The customer.created event is triggered whenever a user registers via the Pelcro Platform. This means that a customer record exists in Pelcro and has a unique email address, password and customer ID associated to it.

{
    "type": "customer.created",
    "id": "evt_O8VGDYLBH9XGuhl9bgUeD0tm",
    "created": 1624529772,
    "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]",
            "first_name": "first name",
            "has_password": false,
            "last_name": "last name",
            "metadata": {
                "pelcro_account_id": "1",
                "pelcro_customer_id": "64"
            },
            "phone": "12345678",
            "salutation": null,
            "site_id": 1,
            "title": null
        }
    }
}