Menu
pointOfSaleDevice
Fetch a single point of sale device by its ID.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the pointOfSaleDevice action (under Point).
- Fill in the fields below, then reference the result from later steps as
{{pointofsaledevice.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query PointOfSaleDevice($id: ID!) {
pointOfSaleDevice(id: $id) {
activePaymentSession {
cashCountedAtClose {
amount
currencyCode
}
cashCountedAtOpen {
amount
currencyCode
}
cashDrawer {
balance
id
location
name
}
closingAdjustment {
amount
currencyCode
}
closingBalance {
amount
currencyCode
}
closingNote
closingStaffMember {
accountType
active
email
exists
firstName
id
initials
isShopOwner
lastName
locale
name
phone
privateData
}
closingTime
currency
expectedCashAtClose {
amount
currencyCode
}
expectedCashAtOpen {
amount
currencyCode
}
id
location {
activatable
address
addressVerified
createdAt
deactivatable
deactivatedAt
deletable
fulfillmentService
fulfillsOnlineOrders
hasActiveInventory
hasUnfulfilledOrders
id
isActive
isFulfillmentService
isPrimary
legacyResourceId
localPickupSettingsV2
name
shipsInventory
suggestedAddresses
updatedAt
}
netCashSales {
amount
currencyCode
}
netSales {
amount
currencyCode
}
openingNote
openingStaffMember {
accountType
active
email
exists
firstName
id
initials
isShopOwner
lastName
locale
name
phone
privateData
}
openingTime
pointOfSaleDevice
status
totalAdjustments {
amount
currencyCode
}
totalCashRefunds {
amount
currencyCode
}
totalCashSales {
amount
currencyCode
}
totalDiscrepancy {
amount
currencyCode
}
totalRefunds {
amount
currencyCode
}
totalSales {
amount
currencyCode
}
totalsReady
}
cashDrawer {
balance {
amount
currencyCode
}
id
location {
activatable
address
addressVerified
createdAt
deactivatable
deactivatedAt
deletable
fulfillmentService
fulfillsOnlineOrders
hasActiveInventory
hasUnfulfilledOrders
id
isActive
isFulfillmentService
isPrimary
legacyResourceId
localPickupSettingsV2
name
shipsInventory
suggestedAddresses
updatedAt
}
name
}
id
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"id": "string"
}
Response
Read the result with {{pointofsaledevice.response.data.data.pointOfSaleDevice}}. If the API returns errors, the step fails and they are at {{pointofsaledevice.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?