docs
  1. Scayle Developer Guides
  2. Customise & Extend
  3. Webhooks
  4. Events
  5. Customer-logout

customer-logout

Get notified whenever an existing customer logs out of the system.

{
  "key": "string",
  "meta": {
    "tenantKey": "string",
    "xRequestId": "string"
  },
  "occurredAt": "datetime",
  "type": "customer-logout",
  "version": "integer",
  "payload": {
    "id": "integer",
    "referenceKey": "string",
    "firstName": "string",
    "lastName": "string",
    "gender": "string",
    "birthDate": "string",
    "email": "string",
    "publicKey": "string",
    "type": "string",
    "groups": [
      "string"
    ],
    "createdAt": "datetime",
    "updatedAt": "datetime",
    "status": {
      "isActive": "boolean",
      "isGuestCustomer": "boolean"
    },
    "company": {
      "id": "integer",
      "name": "string"
    },
    "shopCountry": {
      "id": "integer",
      "shopKey": "string",
      "countryCode": "string",
      "defaultLanguageCode": "string",
      "supportedLanguageCodes": [],
      "priceGroupKey": "object",
      "url": "string",
      "active": "boolean",
      "currencyCode": "string",
      "deleted": "boolean"
    }
  }
}