---
title: "Retrieves an order count"
method: GET
path: "/admin/orders/count.json"
tags: ["Order"]
---

# Retrieves an order count

`GET /admin/orders/count.json`

Retrieves an order count

## Request body

- OrdersSwaggerRequest
  - `chargeback_deadline_at_max` string — Show orders chargeback deadline at or before date. (format: 2014-04-25T16:15:47-04:00)
  - `chargeback_deadline_at_min` string — Show orders chargeback deadline at or after date. (format: 2014-04-25T16:15:47-04:00)
  - `chargeback_status` string — Filter orders by their chargeback status, specified by a comma-separated list of statuses. </br>Acceptable value: **open**, **submitted**, **won**, **lost**.
  - `created_at_max` string — Show orders created at or before date. (format: 2014-04-25T16:15:47-04:00)
  - `created_at_min` string — Show orders created at or after date. (format: 2014-04-25T16:15:47-04:00)
  - `customer_email` string — Filter orders by their customer email.
  - `customer_id` integer — ID of customer
  - `fields` string — Retrieve only certain fields, specified by a comma-separated list of fields names.
  - `filter_order_risk` boolean — Filter orders by risk level.
  - `financial_status` string — Filter orders by their financial status, specified by a comma-separated list of statuses. </br>**authorized**: Show only authorized orders. </br>**pending**: Show only pending orders. </br>**paid**: Show only paid orders. </br>**partially_paid**: Show only partially paid orders. </br>**refunded**: Show only refunded orders. </br>**partially_refunded**: Show only partially refunded orders. </br>**unpaid**: Show authorized and partially paid orders. </br>**voided**: Show only voided orders. </br>**any**: Show orders of any financial status.
  - `fulfilled_at_max` string — Show orders fulfilled at or before date. (format: 2014-04-25T16:15:47-04:00)
  - `fulfilled_at_min` string — Show orders fulfilled at or after date. (format: 2014-04-25T16:15:47-04:00)
  - `fulfillment_service` string — Filter orders by their fulfillment service handle, specified by a comma-separated list of services.
  - `fulfillment_status` string — Filter orders by their fulfillment status, specified by a comma-separated list of statuses. </br>**fulfilled**: Show orders that have been shipped (alias: **shipped**). </br>**partial**: Show partially shipped orders. </br>**unfulfilled**: Show orders that have not yet fulfilled or partial (alias: **unshipped**). </br>**any**: Show orders of any fulfillment status. </br>**restocked**: Show order that have been restocked. </br>**processing**: Show order that in processing. </br>**partial-processing**: Show partially processing orders.
  - `ids` integer[] — List of order ID
  - `limit` integer — The maximum number of results to show on a page. (default: 50, maximum: 250)
  - `not_product_mapping` boolean — Filter order by line item's product not mapped.
  - `not_product_name` string — Filter orders by line item's product name which not contains.
  - `not_product_sku` string — Filter orders by line item's product sku which not contains.
  - `not_product_type` string — Filter orders by line item's product type which not contains.
  - `not_product_vendor` string — Filter orders by line item's product vendor which not contains.
  - `order_status` string — Filter orders by their status, specified by a comma-separated list of statuses. </br>**open**: Show only open orders. </br>**closed**: Show only closed orders. </br>**cancelled**: Show only canceled orders. </br>**any**: Show orders of any status, including archived orders.
  - `page` integer — Number of page.
  - `product_mapping` boolean — Filter order by line item's product mapped.
  - `product_name` string — Filter orders by line item's product name which contains.
  - `product_sku` string — Filter orders by line item's product sku which contains.
  - `product_type` string — Filter orders by line item's product type which contains.
  - `product_vendor` string — Filter orders by line item's product vendor which contains.
  - `since_id` integer — Show orders after the specified ID.
  - `tag` string — Filter order by tag.
  - `tracking_number` string — Filter order by transaction number.
  - `updated_at_max` string — Show orders last updated at or before date (format: 2019-04-22T16:15:47-04:00).
  - `updated_at_min` string — Show orders last updated at or after date (format: 2019-04-22T16:15:47-04:00).

## Response `200`

OK

- CountResponse
  - `count` integer

---

[API](https://skmtc.net/shopbase/apis/shopbase-internal-api.md) · [All operations](https://skmtc.net/shopbase/apis/shopbase-internal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shopbase/shopbase-internal-api/revisions/353ccde6240d/schema)
