Customers

Events

Action Event name
customer sign up customer.created
create a customer via admin page customer.created
purchase by a new customer customer.created
purchase completed customer.updated
edit customer via admin page customer.updated
cancellation of a purchase customer.updated
customer account activation customer.updated
delete a customer customers.deleted

Payload example

{
  "id": "string",
  "attemptId": "string",
  "livemode": "boolean",
  "created": "int",
  "event": "string",
  "data": {
    "_id": "string",
    "zip": "string",
    "userId": "string",
    "title": "string",
    "street": "string",
    "province": "string",
    "phoneType": "string",
    "phone": "string",
    "optIn": "boolean",
    "normalizedPhone": "string",
    "mergedTo": "string",
    "mergedFrom": [],
    "lastName": "string",
    "gender": "string",
    "firstName": "string",
    "email": "string",
    "customerNumber": "string",
    "country": "string",
    "cloutCategory": "string",
    "city": "string",
    "agencyId": "string",
    "activeCustomerAccount": "boolean",
    "accountId": "string",
    "deleted": "boolean",
    "createdAt": {
      "value": "string",
      "offset": "int"
    },
    "updatedAt": {
      "value": "string",
      "offset": "int"
    }
  }
}

Payload example deleted

{
  "attemptId": "fb29c7cd-6c24-4e14-ae40-cc3c413775b4",
  "created": 1665591574,
  "data": {
    "customerId": "6346e71043f36306722673f5",
    "customerNumber": "388-864-739"
  },
  "event": "customers.deleted",
  "id": "6fb8a462-9673-4ef2-9efb-f0471b8f263f",
  "livemode": false
}