Skip to main content

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​

FieldTypeDescription
eventStringThe name of the webhook event, here customer_creation.
customerExternalIdStringThe member's external identifier (your identifier for this member).
customerIdStringSpaycial's member id.
shoppingHubIdStringProgramme id (Spaycial).
shoppingHubExternalIdStringProgramme id in your system.
emailString, optionalThe member's email address. Only provided for programmes that collect it; omitted otherwise.
phoneString, optionalThe member's phone number, in international format. Only provided for programmes that collect it; omitted otherwise.
firstNameString, optionalThe member's first name. Only provided for programmes that collect it; omitted otherwise.
lastNameString, optionalThe 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"
}