customer/logout
Log out the current customer
Fields
redirect
• destination
redirect
• destinationOptional redirect destination after logout.
Logs out the current customer and clears all customer-related data from the app. This action performs a comprehensive logout process including clearing sessions, cart data, cookies, and WebView cache.
Tapcart.action?.("customer/logout", {
redirect: {
type: "route",
id: "home",
},
})
Updated 9 days ago