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.

Show fields
•MoneyV2!
non-null

The current balance in the cash drawer.

Show fields
•CashActivityConnection!
non-null

The activities on the cash drawer.

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
•Boolean
Default:false

Reverse the order of the underlying list.

•CashActivitiesSortKeys
Default:TIME

Sort the underlying list by the given key.

Show enum values
•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.

Show fields
•String!
non-null

The name of the cash drawer.

•MoneyV2!
non-null

The net sales for this cash drawer.

Show fields

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering net sales.

Show input fields

•PointOfSaleDeviceConnection

The Point of Sale devices assigned to this cash drawer.

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.


•MoneyV2!
non-null

The total adjustments for this cash drawer.

Show fields

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering adjustments.

Show input fields

•MoneyV2!
non-null

The total discrepancies for this cash drawer.

Show fields

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering discrepancies.

Show input fields

•MoneyV2!
non-null

The total refunds for this cash drawer.

Show fields

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering refunds.

Show input fields

•MoneyV2!
non-null

The total sales for this cash drawer.

Show fields

Arguments

•CashDrawerDateRangeInput!
required

The date and time range for filtering sales.

Show input fields


Was this section helpful?