address.updated

Anytime an existing address record has been updated on an end user's record, the address.updated event is triggered confirming that the address has been updated on their account.

Here are some examples:

  • if the Postal Code was wrongly entered the first time and it has been updated later on.
  • The apartment number was wrong and was updated later on.
{
    "type": "address.updated",
    "id": "evt_6sJU4szWrCurQIcCDCeuHVqw",
    "created": 1624530168,
    "triggered_from": "open_api",
    "data": {
        "object": {
            "object": "address",
            "id": 43,
            "city": "city name",
            "company": "company name",
            "country": "CA",
            "country_name": "Canada",
            "created_at": "2021-06-24 10:21:26",
            "department": "which department",
            "first_name": "first name",
            "is_default": true,
            "last_name": "last name",
            "line1": "specific address",
            "line2": "apt 100",
            "postal_code": "12345",
            "salutation": null,
            "state": "QC",
            "state_name": "Quebec",
            "title": "title name",
            "type": "shipping",
            "updated_at": "2021-06-24 10:22:48",
            "customer": {
                "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_login_method": 'email',
                "last_name": "last name",
                "metadata": {
                    "pelcro_account_id": "1",
                    "pelcro_customer_id": "64"
                },
                "phone": "12345678",
                "phone_confirm": null,
                "salutation": "salutation",
                "title": "title",
      					"username": null
            }
        },
        "previous_attributes": {
            "line2": "apt 10",
            "updated_at": "2021-06-24 10:21:26"
        }
    }
}