Events-Customer
Overview
Webhook events related to the creation, update and deletion of customer, sending a request to reset a customer's password and resending an account activation link to a customer.
Available events
Event type
Event schema
customer.created
{
"customerNumber": "String",
"id": "String",
"title": "String",
"firstName": "String",
"lastName": "String",
"middleName": "String",
"company": "String",
"preferredSite": "String",
"preferredCurrency": "String",
"preferredLanguage": "String",
"accounts": ["String"],
"contactPhone": "String",
"contactEmail": "String",
"active": "Boolean",
"onHold": "Boolean",
"b2b": {
"companyRegistrationId": "String"
},
"type": "String",
"metadata": "Object",
"mixins": "Map",
"tenant": "String"
}
customer.updated
{
"updatedBy": "String",
"customerNumber": "String",
"id": "String",
"title": "String",
"firstName": "String",
"lastName": "String",
"middleName": "String",
"company": "String",
"preferredSite": "String",
"preferredCurrency": "String",
"preferredLanguage": "String",
"accounts": ["String"],
"contactPhone": "String",
"contactEmail": "String",
"active": "Boolean",
"onHold": "Boolean",
"b2b": {
"companyRegistrationId": "String"
},
"type": "String",
"defaultAddress": "Object",
"addresses": ["Object"],
"metadata": "Object",
"mixins": "Map",
"tenant": "String"
}
customer.deleted
{
"customerNumber": "String",
"email": "String",
"triggeredBy": "String",
"tenant": "String"
}
customer.password-reset
{
"email": "String",
"token": "String",
"site": "String"
}
customer.refresh-token
{
"email": "String",
"tenant": "String"
}
customer.opt-in
{
"customerNumber": "String",
"activateAccountUrl": "String",
"token": "String"
}
customer.logged.in
{
"tenant": "String",
"sessionId": "String",
"customerId": "String"
}
customer.email-change
{
"tenant": "String",
"customerId": "String",
"token": "String",
"email": "String",
"newEmail": "String"
}
customer.email-change-request
{
"tenant": "String",
"customerId": "String",
"token": "String",
"email": "String",
"newEmail": "String"
}
Last updated
Was this helpful?