Analytics
Retrieve transaction summaries grouped by contact
post/v1/analytics/transaction-summaries
Request
- Base URLhttps://api.squarespace.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
API key or OAuth access token
User-Agentstring required
User Agent
Request body
Example request
{
"groupBy": "contactId"
}Response
Transaction summaries retrieved
Example response
{
"transactionsSummaryWrappers": [
{
"contactId": "a6e74e0c-2b4a-4b63-b4a3-9c5d1f3e8a7b",
"transactionsSummary": {
"totalDonationAmount": {
"value": 49.99
},
"totalOrderAmount": {
"value": 49.99
},
"totalRefundAmount": {
"value": 49.99
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.