Skip to main content
query

Requires read_cash_tracking access scope.

Returns a CashDrawer resource by ID.

•ID!
required

The ID of the CashDrawer to return.


Was this section helpful?

•CashDrawer

A cash drawer for cash management.

•MoneyV2!
non-null

The current balance in the cash drawer.

•CashActivityConnection!
non-null

The activities on the cash drawer.

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.

•CashActivitiesSortKeys
Default:TIME

Sort the underlying list by the given key.

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

Filter activities by staff member.


•ID!
non-null

A unique ID for the cash drawer.

•Location!
non-null

The location of the cash drawer.

•String!
non-null

The name of the cash drawer.

•MoneyV2!
non-null

The net sales for this cash drawer.

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering net sales.


•PointOfSaleDeviceConnection

The Point of Sale devices assigned to this cash drawer.

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.


•MoneyV2!
non-null

The total adjustments for this cash drawer.

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering adjustments.


•MoneyV2!
non-null

The total discrepancies for this cash drawer.

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering discrepancies.


•MoneyV2!
non-null

The total refunds for this cash drawer.

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering refunds.


•MoneyV2!
non-null

The total sales for this cash drawer.

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering sales.



Was this section helpful?