Skip to content

Authentication GraphQL

Served by AuthModule on commercetools, AuthModule on medusa and AuthModule on sfcc.

Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the authentication types page.

Operations

OperationDescriptionServed by
cartMergeUndoMutationUndo the merge signing in made: the current cart becomes the guest cart as it was before signing in, and the saved cart gets its own items back.commercetoolsmedusasfcc
createGuestSessionMutationCreate a guest session for anonymous users.commercetoolsmedusasfcc
customerLoginMutationAuthenticate a customer with email and passwordcommercetoolsmedusasfcc
customerLogoutMutationLog out the current customer and invalidate the sessioncommercetoolsmedusasfcc
customerPasswordResetMutationReset customer password using a reset token received via emailcommercetoolsmedusasfcc
customerPasswordResetRequestMutationRequest a password reset email for the given email addresscommercetoolsmedusasfcc
customerPasswordUpdateMutationUpdate customer password (requires current password for verification)commercetoolsmedusasfcc
refreshTokenMutationRefresh the authentication token for the current sessioncommercetoolsmedusasfcc

Types