Returns number of orders for each status within given period of time (in days). Should you not use the days parameter, the method will return data for period of 30 days by default.
GET
/orders/stats
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/orders/stats?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
Response examples (200)
{
"data": {
"blocked": 5,
"open": 8,
"shipping": 2,
"shipped": 14,
"delivered": 52,
"cancelled": 1,
"returned": 2,
"lost": 2
},
"result": {
"code": 200,
"status": "OK"
}
}
Response examples (200)
{
"data": {
"blocked": 5,
"open": 8,
"shipping": 2,
"shipped": 14,
"delivered": 52,
"cancelled": 1,
"returned": 2,
"lost": 2
},
"result": {
"code": 200,
"status": "OK"
}
}