Skip to main content
object

Requires read_cash_tracking access scope.

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?

•query

Returns a CashDrawer resource by ID.

Arguments

•ID!
required

The ID of the CashDrawer to return.


•query

A list of cash drawers in the shop.

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.

•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
Anchor to location_id
•id


Was this section helpful?

•mutation

Creates a cash drawer in a provided location.

Arguments

•ID!
required

The location the cash drawer is located in.

•String!
required

The name of the cash drawer.


•mutation

Finds or creates a cash drawer for cash management. Also ensures the provided device is assigned to the drawer.

Arguments

•ID!
required

The location the cash drawer is located in.

•String!
required

The name of the cash drawer.

•ID!
required

The point of sale device to assign to the cash drawer.


•mutation

Updates a cash drawer.

Arguments

•ID!
required

The ID of the cash drawer to update.

•CashDrawerUpdateInput!
required

The input fields for updating a cash drawer.



Was this section helpful?

•interface

Was this section helpful?