Chuyển tới nội dung chính

Trạng thái đơn hàng

Đếm số đơn hàng của một khách hàng theo các trạng thái

HTTP Request

[GET] /api/v6.1/account/count_orders_status

Query Parameters

TrườngLoạiMô tả
account_idintegerID khách hàng cần tra cứu

Example

HTTP Request

GET api/v6.1/account/count_orders_status?account_id=4 HTTP/1.1
Host: example.getflycrm.com

Status

200 OK

Response

{
"total_orders_pending": 0,
"total_orders_approved": 0,
"total_orders_canceled": 0
}