Skip to main content

Order Status

Count the number of orders for a customer by status

  • waiting: Pending approval
  • approval: Approved
  • cancel: Canceled

HTTP Request

GET /api/v3/account/ID/count_orders_status Where ID is the Customer ID (account_id)

Response

FieldTypeDescription
waitingintPending approval
approvalintApproved
cancelintCanceled
{
"waiting": "0",
"approval": "0",
"cancel": "0"
}