--- title: PointOfSaleDeviceAssignToCashDrawerUserError - GraphQL Admin description: >- An error that occurs during the execution of `PointOfSaleDeviceAssignToCashDrawer`. api_version: 2026-04 api_name: admin type: object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDeviceAssignToCashDrawerUserError md: >- https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDeviceAssignToCashDrawerUserError.md --- # Point​Of​Sale​Device​Assign​To​Cash​Drawer​User​Error object An error that occurs during the execution of `PointOfSaleDeviceAssignToCashDrawer`. ## Fields * code [Point​Of​Sale​Device​Assign​To​Cash​Drawer​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDeviceAssignToCashDrawerUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [point​Of​Sale​Device​Assign​To​Cash​Drawer](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDeviceAssignToCashDrawer) mutation Assigns a point of sale device to a cash drawer, removing any prior assignment. * cash​Drawer​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required ### Arguments The cash drawer to assign the device to. * point​Of​Sale​Device​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The point of sale device to assign. *** *** ## PointOfSaleDeviceAssignToCashDrawerUserError Mutations ### Mutated by * [point​Of​Sale​Device​Assign​To​Cash​Drawer](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDeviceAssignToCashDrawer) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError) interface *** ## PointOfSaleDeviceAssignToCashDrawerUserError Implements ### Implements * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)