{"action":"opened","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/7433","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7433/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7433/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7433/events","html_url":"https://github.com/woothemes/woocommerce/issues/7433","id":57736918,"number":7433,"title":"Easier way to get order counts for every order status","user":{"login":"bryceadams","id":1532482,"avatar_url":"https://avatars.githubusercontent.com/u/1532482?v=3","gravatar_id":"","url":"https://api.github.com/users/bryceadams","html_url":"https://github.com/bryceadams","followers_url":"https://api.github.com/users/bryceadams/followers","following_url":"https://api.github.com/users/bryceadams/following{/other_user}","gists_url":"https://api.github.com/users/bryceadams/gists{/gist_id}","starred_url":"https://api.github.com/users/bryceadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryceadams/subscriptions","organizations_url":"https://api.github.com/users/bryceadams/orgs","repos_url":"https://api.github.com/users/bryceadams/repos","events_url":"https://api.github.com/users/bryceadams/events{/privacy}","received_events_url":"https://api.github.com/users/bryceadams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/API","name":"API","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-15T17:00:42Z","updated_at":"2015-02-15T17:00:42Z","closed_at":null,"body":"At the moment if you want to get the order count for each order status (in core, 7 of them), you'd have to make 7 API calls I believe, each time filtering the post_status, which is a bit overkill.\r\n\r\nWe could extend the orders/count endpoint to return an array of all statuses and their order counts."}}