Skip to main content

UpdateAuthorizedUserInput

Input for updateAuthorizedUser.

input UpdateAuthorizedUserInput {
userEmail: String!
accessLevel: AuthorizedUserAccessLevel
storeId: ID
pointOfSaleId: ID
}

Fields

UpdateAuthorizedUserInput.userEmail ● String! non-null scalar

Email of the user to update. Identifies the existing record.

UpdateAuthorizedUserInput.accessLevel ● AuthorizedUserAccessLevel enum

New permission level. ADMIN_ACCESS is rejected when storeId or pointOfSaleId is set.

UpdateAuthorizedUserInput.storeId ● ID scalar

Restrict the user to a single store. Pass null to clear.

UpdateAuthorizedUserInput.pointOfSaleId ● ID scalar

Restrict the user to a single point of sale. Pass null to clear.

Member Of

updateAuthorizedUser mutation