Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Query retail cash tracking sessions with the GraphQL Admin API

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 in the GraphQL Admin API reference.