Disconnect shopper context

Request Swym to "logout" shopper context associated with device either by storefront logout or swym disconnect


Disconnect shopper context via Swym shopper capture interfaces; or in other words, logout of your account on your e-commerce platform using Swym Wishlist.


swat.disconnectShopperContext(onSuccess, onError)


swat.disconnectShopperContext(onSuccess, onError)

API Parameters

onSuccessfunctionfunction which will be called with the success response
onErrorfunctionError callback function which will be called if there is an error.



Calling this API will logout of the current session - there is no specific Response associated with this API.

This API cleans current session cookies associated with Swym login, such as the email address associated with the user for Swym.