Skip to main content
object

Requires read_cash_tracking access scope.

Tracks the balance in a cash drawer for a point of sale device over the course of a shift.

•CashTrackingAdjustmentConnection!
non-null

The adjustments made to the cash drawer during this session.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•AdjustmentsSortKeys
Default:TIME

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.


•Boolean!
non-null

Whether this session is tracking cash payments.

•OrderTransactionConnection!
non-null

The cash transactions made during this session.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•CashTrackingSessionTransactionsSortKeys
Default:PROCESSED_AT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
•string
Anchor to processed_at
•time

•MoneyV2

The counted cash balance when the session was closed.

•String

The note entered when the session was closed.

•StaffMember

The user who closed the session.

•DateTime

When the session was closed.

•MoneyV2!
non-null

The expected balance at the end of the session or the expected current balance for sessions that are still open.

Anchor to expectedClosingBalanceexpectedClosingBalance
•MoneyV2

The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed.

Anchor to expectedOpeningBalanceexpectedOpeningBalance
•MoneyV2

The amount expected to be in the cash drawer based on the previous session.

•ID!
non-null

A globally-unique ID.

•Location

The location of the point of sale device during this session.

•MoneyV2!
non-null

The net cash sales made for the duration of this cash tracking session.

•MoneyV2!
non-null

The counted cash balance when the session was opened.

•String

The note entered when the session was opened.

•StaffMember

The user who opened the session.

•DateTime!
non-null

When the session was opened.

•String!
non-null

The register name for the point of sale device that this session is tracking cash for.

•MoneyV2

The sum of all adjustments made during the session, excluding the final adjustment.

•MoneyV2!
non-null

The sum of all cash refunds for the duration of this cash tracking session.

•MoneyV2!
non-null

The sum of all cash sales for the duration of this cash tracking session.

•MoneyV2

The total discrepancy for the session including starting and ending.


Was this section helpful?

•query

Returns a CashTrackingSession resource by ID.

Arguments

•ID!
required

The ID of the CashTrackingSession to return.


•query

Returns a shop's cash tracking sessions for locations with a POS Pro subscription.

Tip: To query for cash tracking sessions in bulk, you can perform a bulk operation.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•CashTrackingSessionsSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to closing_time
•time
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to location_id
•id
Anchor to opening_time
•time
Anchor to point_of_sale_device_ids
•string
•string


Was this section helpful?

•interface

Was this section helpful?