Send a Survey through Fullwhere
This use case shows how to send a satisfaction survey through Fullwhere. A survey must be sent for a specific customer and purchase.
1. Import the customer
Start by importing a customer in Fullwhere. This entity contains the customer’s basic information (name, email, etc.) and will be used to link future purchases and surveys to the right customer.
API Reference:
POST partners/customers
2. Import the purchase
Next, import a purchase linked to this customer.
The purchase includes transaction details (amount, date, etc.) and must by linked to the customer you just imported with the customerId field.
API Reference :
POST partners/purchases
When creating the purchase, set the Query parameter allowSurvey to true.
"allowSurvey": trueThis flag tells Fullwhere that this transaction should trigger the satisfaction survey to be sent to the customer by Fullwhere. In this case, Fullwhere handles the entire process of sending the survey to your customer, according to your survey configuration (delay, channels, etc.). No further action is required on the partner side.
Last updated