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.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•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.

Show enum values

•Boolean!
non-null

Whether this session is tracking cash payments.

•OrderTransactionConnection!
non-null

The cash transactions made during this session.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•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.

Show filters
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
•string
Anchor to processed_at
•time
•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.

Show enum values

•MoneyV2

The counted cash balance when the session was closed.

Show fields
•String

The note entered when the session was closed.

•StaffMember

The user who closed the session.

Show fields
•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.

Show fields
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.

Show fields
Anchor to expectedOpeningBalanceexpectedOpeningBalance
•MoneyV2

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

Show fields
•ID!
non-null

A globally-unique ID.

•Location

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

Show fields
•MoneyV2!
non-null

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

Show fields
•MoneyV2!
non-null

The counted cash balance when the session was opened.

Show fields
•String

The note entered when the session was opened.

•StaffMember

The user who opened the session.

Show fields
•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.

Show fields
•MoneyV2!
non-null

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

Show fields
•MoneyV2!
non-null

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

Show fields
•MoneyV2

The total discrepancy for the session including starting and ending.

Show fields

Was this section helpful?

•query

Returns a CashTrackingSession resource by ID.

Show fields

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.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•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.

Show filters
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
•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.

Show enum values


Was this section helpful?

•interface

Was this section helpful?