Customer Updated 2.0 Event Example

Event Label: Customer Updated V2

Event Name: customer.updated.v2

Trigger: An existing Customer for an Org is updated

Target Org: The Org that created and owns the Customer

{
  "payload": {
    "targetOrg": "88888888-0e5f-4996-8f74-28c75ddb48b9",
    "initiatedBy": "296af00b-3c04-45bd-82a4-a2ece88171eb",
    "current": {
      "id": "f6ac5e81-ef2d-4981-863a-86bbb4590601",
      "org": "88888888-0e5f-4996-8f74-28c75ddb48b9",
      "status": "ACTIVE",
      "firstName": "Firsty",
      "lastName": "Lasty",
      "phone": "1234567890",
      "phoneIsMobile": true,
      "mobile": "1234567890",
      "email": "[email protected]",
      "address": {
        "line1": "123 Easy St",
        "line2": null,
        "line3": null,
        "city": "Mountain View",
        "state": "CA",
        "country": "",
        "postalCode": "94043",
        "lat": null,
        "lng": null,
        "fullAddress": "123 Easy St, Mountain View, CA, 94043"
      },
      "tz": null,
      "integrationIds": []
    },
    "previous": {
      "id": "f6ac5e81-ef2d-4981-863a-86bbb4590601",
      "org": "88888888-0e5f-4996-8f74-28c75ddb48b9",
      "status": "ACTIVE",
      "firstName": "Firsty",
      "lastName": "Lasty Sr.",
      "phone": "1234567890",
      "phoneIsMobile": true,
      "mobile": null,
      "email": "[email protected]",
      "address": {
        "line1": "123 Easy St",
        "line2": null,
        "line3": null,
        "city": "Mountain View",
        "state": "CA",
        "country": "",
        "postalCode": "94043",
        "lat": null,
        "lng": null
      },
      "tz": null,
      "integrationIds": []
    },
    "changes": {
      "lastName": "Lasty",
      "mobile": "1234567890",
      "address": {
        "line1": "123 Easy St",
        "line2": null,
        "line3": null,
        "city": "Mountain View",
        "state": "CA",
        "country": "",
        "postalCode": "94043",
        "lat": null,
        "lng": null,
        "fullAddress": "123 Easy St, Mountain View, CA, 94043"
      }
    }
  },
  "event": "customer.updated.v2"
}