cURL
curl --request GET \ --url http://staging.qshop.ng/apiv2/{shopId}/analytics
{ "data": { "orderTotal": [ { "_id": null, "total": 5000 } ], "product": 58, "revenue": [ { "_id": null, "total": 10008000 } ] }, "msg": "Revenue aggregation successful", "success": true }
"2022-01-01"
"2022-11-21"
"nolimit"
"revenue"
"1"
"month"
200
Show child attributes
5000
[{ "_id": null, "total": 5000 }]
58
10008000
[{ "_id": null, "total": 10008000 }]
"Revenue aggregation successful"
true
Was this page helpful?