Saltar al contenido principal

CreateAuthorizedUserInput

Input for createAuthorizedUser.

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

Fields​

CreateAuthorizedUserInput.userEmail ● String! non-null scalar​

Email of the user to invite. An invitation email is sent if the user is new.

CreateAuthorizedUserInput.accessLevel ● AuthorizedUserAccessLevel enum​

Permission level to grant. Defaults to READ_ACCESS. ADMIN_ACCESS is rejected when storeId or pointOfSaleId is set.

CreateAuthorizedUserInput.storeId ● ID scalar​

Restrict the user to a single store.

CreateAuthorizedUserInput.pointOfSaleId ● ID scalar​

Restrict the user to a single point of sale.

Member Of​

createAuthorizedUser mutation