Anchor to cashDrawerFindOrCreatecash
mutationcash Drawer Find Or Create
Requires access scope.
Finds or creates a cash drawer for cash management. Also ensures the provided device is assigned to the drawer.
Anchor to Arguments
Arguments
- locationId (ID!)
- name (String!)
- pointOfSaleDeviceId (ID!)
- Anchor to locationIdlocation•ID!
Id required The location the cash drawer is located in.
- Anchor to namename•String!required
The name of the cash drawer.
- Anchor to pointOfSaleDeviceIdpoint•ID!
Of Sale Device Id required The point of sale device to assign to the cash drawer.
Was this section helpful?
- cashDrawer (CashDrawer)
- userErrors ([CashDrawerFindOrCreateUserError!]!)
- Anchor to cashDrawercash•Cash
Drawer Drawer The cash drawer.
- Anchor to userErrorsuser•[Cash
Errors Drawer Find Or Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?