Disconnect shopper context
Request Swym to "logout" shopper context associated with device either by storefront logout or swym disconnect
swat.disconnectShopperContext
Disconnect shopper context via Swym shopper capture interfaces; or in other words, logout of your account on your e-commerce platform using Swym Wishlist.
Definition
swat.disconnectShopperContext(onSuccess, onError)
Example
swat.disconnectShopperContext(onSuccess, onError)
API Parameters
Argument | Type | Description |
---|---|---|
onSuccess | function | function which will be called with the success response |
onError | function | Error callback function which will be called if there is an error. |
Response
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.
Updated over 1 year ago