Authorization: ********************access_token: ********************curl --location 'https://mock.apidog.com/m1/1052146-0-default/sales/by-product/summary?categories=undefined&item=undefined&store=undefined&location=undefined&date_from=undefined&date_to=undefined&status=undefined&units_sold_min=undefined&units_sold_max=undefined&asp_min=undefined&asp_max=undefined&netsales_min=undefined&netsales_max=undefined&cogs_min=undefined&cogs_max=undefined&gp_min=undefined&gp_max=undefined&margin_min=undefined&margin_max=undefined&soh_min=undefined&soh_max=undefined' \
--header 'Authorization: Bearer <token>'{
"success": true,
"code": "LOGIN_OK",
"message": "Authenticated",
"data": {
"productsSold": 128,
"grossSales": 24500000,
"discounts": 1800000,
"grossProfit": 6200000,
"marginPercent": 0.25
},
"meta": {
"page": 1,
"perPage": 50,
"total": 1
}
}