Skip to main content
Anchor to PointOfSaleDevicePaymentSession

PointOfSaleDevicePaymentSession

object

Requires read_cash_tracking access scope.

Tracks the payment activity for a point of sale device.

•CashActivityConnection!
non-null

The activities on the point of sale device payment 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.

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


•MoneyV2

The cash that was physically counted when the point of sale device payment session was closed.

•MoneyV2!
non-null

The cash that was physically counted when the point of sale device payment session was opened.

•CashDrawer!
non-null

The cash drawer associated with the point of sale device payment session. The session's sales andcash tracking activity will affect the cash drawer's balance.

•MoneyV2

The amount that the cash drawer balance was adjusted when the session was closed.

•MoneyV2

The counted balance of the cash drawer when the point of sale device payment session was closed.

•String

The note associated with the point of sale device payment session closing.

•StaffMember

The staff member who closed the point of sale device payment session.

•DateTime

The time the point of sale device payment session was closed.

•String!
non-null

The currency of the point of sale device payment session.

•MoneyV2

The expected cash when the point of sale device payment session was closed.

•MoneyV2!
non-null

The expected balance of the cash drawer when the point of sale device payment session was opened.

•ID!
non-null

A globally-unique ID.

•Location!
non-null

The location associated with the point of sale device payment session. The session's sales and cash tracking activity will contribute to the location's totals.

•MoneyV2!
non-null

The net cash sales for the point of sale device payment session.

•MoneyV2!
non-null

The net sales for the duration of this session.

•String

The note associated with the point of sale device payment session opening.

•StaffMember!
non-null

The staff member who opened the point of sale device payment session.

•DateTime!
non-null

The time the point of sale device payment session was opened.

•PointOfSaleDevice!
non-null

The point of sale device.

•PointOfSaleDevicePaymentSessionStatus!
non-null

Whether the point of sale device payment session is open. Payments can't be processed or refunded during a closed session, and the cash drawer balance can't be adjusted or corrected.

•MoneyV2!
non-null

The total adjustments for the point of sale device payment session.

•MoneyV2!
non-null

The total cash refunds for the point of sale device payment session.

•MoneyV2!
non-null

The total cash sales for the point of sale device payment session.

•MoneyV2!
non-null

The total discrepancy for the point of sale device payment session.

•MoneyV2!
non-null

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

•MoneyV2!
non-null

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

•Boolean!
non-null

Whether the point of sale device payment session totals are ready.


Was this section helpful?

•query

Lookup a point of sale device payment session by ID.

Arguments

•ID!
required

The ID of the point of sale device payment session.


•query

A list of point of sale device payment sessions 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.

•Boolean
Default:false

Reverse the order of the underlying list.

•PointOfSaleDevicePaymentSessionSortKeys
Default:ID

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.

Anchor to closing_date
•date
Anchor to closing_time
•time
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to is_open
•boolean
Anchor to location_id
•id
Anchor to opening_date
•date
Anchor to opening_time
•time
Anchor to point_of_sale_device_id
•id


Was this section helpful?

•mutation

Adds an adjustment to a point of sale device payment session.

Arguments

Anchor to pointOfSaleDevicePaymentSessionIdpointOfSaleDevicePaymentSessionId
•ID!
required

The point of sale device payment session to be adjusted.

•MoneyInput!
required

The amount of cash being added or removed.

•ID!
required

The staff member who made the adjustment.

•ID

The reason code for the adjustment.

•String

The note entered when the adjustment was made.

•DateTime

The time when the adjustment was made. Defaults to the current time.


•mutation

Closes a point of sale device payment session.

Arguments

Anchor to pointOfSaleDevicePaymentSessionIdpointOfSaleDevicePaymentSessionId
•ID!
required

The point of sale device payment session to be closed.

•MoneyInput!
required

The counted cash drawer balance when the session was closed.

•ID!
required

The staff member who closed the session.

•DateTime

When the session was closed. Defaults to the current time.

•ID

The reason code for closing the session.

•String

The note entered when the session was closed.


•mutation

Records a mid-session cash count for a point of sale device payment session.

Arguments

Anchor to pointOfSaleDevicePaymentSessionIdpointOfSaleDevicePaymentSessionId
•ID!
required

The point of sale device payment session to record a count for.

•MoneyInput!
required

The counted cash drawer balance.

•ID!
required

The staff member who performed the count.

•DateTime

When the count was performed. Defaults to the current time.

•ID

The reason code for the count.

•String

The note entered when the count was performed.


•mutation

Opens a point of sale device payment session.

Arguments

•ID!
required

The point of sale device to which this session belongs.

•MoneyInput

The counted cash drawer balance when the session was opened.

•ID!
required

The staff member who opened the session.

•DateTime

The time the session was opened. Defaults to the current time.

•ID

The reason code for the session opening.

•String

The note entered when the session was opened.



Was this section helpful?

•interface

Was this section helpful?