Retrieve Resolution Center Case Summary
Changed onAggregates the same cases GET /resolution_center_cases lists, using the same filters. Use it to build status tabs and issue filters without paging the whole list.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/resolution_center_cases/summary
- Auth: HTTP bearer
Query parameters
Which breakdowns to return, keyed by these names under groups. Repeat the parameter to ask for several; omit it for all of them.
[ "status" ]
The account to summarize cases for (biz_ tag).
Only cases opened by this customer — a user_ tag, or me for the calling user.
Only cases in these statuses.
[ "awaiting_merchant" ]
Only cases opened for these reasons.
[ "fraudulent" ]
Only closed cases that ended these ways.
[ "customer_won" ]
Only count cases created before this ISO 8601 timestamp.
Only count cases created after this ISO 8601 timestamp.
Headers
Pins the request to a dated API version.
Response
summary returned
Example response
{
"groups": {
"reason": {
"product_not_received": 1
},
"status": {
"awaiting_merchant": 1
}
},
"total": 1
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info