Nice to have
customer_creation
When it fires
This event is triggered when a member is created in the Spaycial system. It means the member has started a registration process.
Payload fields
| Field | Type | Description |
|---|---|---|
event | String | The name of the webhook event, here customer_creation. |
customerExternalId | String | The member's external identifier (your identifier for this member). |
customerId | String | Spaycial's member id. |
shoppingHubId | String | Programme id (Spaycial). |
shoppingHubExternalId | String | Programme id in your system. |
email | String, optional | The member's email address. Only provided for programmes that collect it; omitted otherwise. |
phone | String, optional | The member's phone number, in international format. Only provided for programmes that collect it; omitted otherwise. |
firstName | String, optional | The member's first name. Only provided for programmes that collect it; omitted otherwise. |
lastName | String, optional | The member's last name. Only provided for programmes that collect it; omitted otherwise. |
Example
{
"event": "customer_creation",
"customerExternalId": "4354213424",
"customerId": "b84c33cf-62c6-4a44-8692-973cc0cc420c",
"shoppingHubId": "f24b4d97-8d70-4133-b685-932c69b87114",
"shoppingHubExternalId": "341451",
"email": "jane.doe@example.com",
"phone": "+33612345678",
"firstName": "Jane",
"lastName": "Doe"
}