---
title: >-
  Query retail cash tracking sessions with the GraphQL Admin API - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/query-retail-cash-tracking-sessions-with-the-graphql-admin-api
  md: >-
    https://shopify.dev/changelog/query-retail-cash-tracking-sessions-with-the-graphql-admin-api.md
metadata:
  effectiveApiVersion: 2024-04
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2024-03-13T13:08:40-04:00'
  postedAt: '2024-03-15T11:00:00-04:00'
  updatedAt: '2024-03-15T11:07:34-04:00'
  effectiveAt: '2024-03-15T11:00:00-04:00'
---

March 15, 2024

Tags:

* Admin GraphQL API
* 2024-04

# Query retail cash tracking sessions with the GraphQL Admin API

As of version 2024-04, you can use the GraphQL Admin API to query a shop's Shopify POS cash tracking sessions. The API returns cash tracking data for locations that have a Shopify POS Pro subscription

Below are some examples of the data that's available on the new `CashTrackingSession` type:

* Opening and closing times, and the staff member who performed each action
* Adjustments to add or remove cash from the cash drawer, and the staff member who performed each action
* Notes attached to the actions listed above
* Aggregations, such as the total cash sales, total cash refunds, and the net cash sales that were processed during the cash tracking session
* Discrepancies between the amount counted in the cash drawer and the amount expected

To find out more, see [*CashTrackingSession*](https://shopify.dev/docs/api/admin-graphql/2024-04/objects/CashTrackingSession) in the GraphQL Admin API reference.
