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

customer-address-updated

Get notified whenever a customer updates an existing address.

{
  "key": "string",
  "meta": {
    "tenantKey": "string",
    "xRequestId": "string"
  },
  "occurredAt": "datetime",
  "type": "customer-address-updated",
  "version": "integer",
  "payload": {
    "customer": {
      "id": "integer",
      "referenceKey": "string",
      "firstName": "string",
      "lastName": "string",
      "gender": "string",
      "email": "string",
      "title": "string",
      "type": "string",
      "groups": [
        "string"
      ],
      "createdAt": "datetime",
      "updatedAt": "datetime",
      "status": {
        "isActive": "boolean",
        "isGuestCustomer": "boolean"
      },
      "company": {
        "id": "integer",
        "name": "string"
      }
    },
    "address": {
      "id": "integer",
      "street": "string",
      "houseNumber": "string",
      "additional": "string",
      "zipCode": "string",
      "city": "string",
      "countryCode": "string",
      "isDefault": {
        "billing": "boolean",
        "shipping": "boolean"
      },
      "recipient": {
        "firstName": "string",
        "lastName": "string",
        "gender": "string",
        "type": "string"
      }
    },
    "shopCountry": {
      "id": "integer",
      "shopKey": "string",
      "countryCode": "string",
      "defaultLanguageCode": "string",
      "supportedLanguageCodes": [],
      "priceGroupKey": "object",
      "url": "string",
      "active": "boolean",
      "currencyCode": "string",
      "deleted": "boolean"
    }
  }
}