Conversions
Get post-purchase survey answers
Changed onHow buyers said they heard about the store, from the "How did you hear about us?" block on the Shopify thank-you page. Each answer comes with its orders and their revenue.
Revenue is what the orders are worth now (refunds taken off), summed across currencies as sent. Without profileId it covers every profile you can access. Requires the Ads add-on.
get/v1/events/survey
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
Query parameters
profileIdstring
The profile to read. Omit for every profile you can access.
fromDatestring date required
First day an answer was given.
toDatestring date required
Inclusive. At most 400 days after fromDate.
Response
The answers, most given first.
Example response
{
"answers": [
{
"answer": "Podcast"
}
]
}Changes
- info
endpoint added
- info