• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
List cash drawer shift events

GET /v2/cash-drawers/shifts/{shift_id}/events

Provides a paginated list of events for a single cash drawer shift.


Permissions
CASH_DRAWER_READ
Try in API Explorer
Name Description
shift_id
string

Required

The shift ID.

Name Description
location_id
string

Required

The ID of the location to list cash drawer shifts for.

limit
integer

Number of resources to be returned in a page of results (200 by default, 1000 max).

cursor
string

Opaque cursor for fetching the next page of results.

Response Fields

Name Description
events
CashDrawerShiftEvent [ ]

All of the events (payments, refunds, etc.) for a cash drawer during the shift.

cursor
string

Opaque cursor for fetching the next page. Cursor is not present in the last page of results.

errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
GET /v2/cash-drawers/shifts/{shift_id}/events
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
curl https://connect.squareup.com/v2/cash-drawers/shifts/shift_id0/events \
  -H 'Square-Version: 2020-09-23' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?