Order Status
Count the number of orders for a customer by status
HTTP Request
[GET] /api/v6/accounts/{id}/count_orders_status
Example
HTTP Request
GET api/v6/accounts/4/count_orders_status HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
Status
200 OK
Response
{
"total_orders_pending": 0, // Total pending orders
"total_orders_approved": 0, // Total approved orders
"total_orders_canceled": 0 // Total canceled orders
}