orders table directly. Earlier this endpointshipments, which is only populated for stores thatorders is the canonicalorders.status onAuthorization: Bearer ********************curl --location 'https://numueg.app/api/v1/stores//analytics/cod-rejections?days=&start_date=&end_date=&granularity=&tz=' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"total_cod_shipments": 0,
"delivered_count": 0,
"rejected_count": 0,
"returned_count": 0,
"rejection_rate": 0,
"total_cod_amount": 0,
"rejected_amount": 0,
"by_location": [
{
"location": "string",
"rejected": 0,
"total": 0,
"rate": 0
}
]
},
"message": "string"
}