The Vue Storefront Essentials Course is now available! Learn More
LogoutCustomer

LogoutCustomer

Implements LogoutCustomer Unified Method.

Source

import { defineApi } from "@vsf-enterprise/unified-api-commercetools";

export const logoutCustomer = defineApi.logoutCustomer(async (context) => {
  await context.api.customerSignOut();
});