Log out the currently active shopper. Introduced in 2.19.4.
| Method | Logout |
The request body is of type Logout.
// Example: Logout the current shopper MakeAJAXCall("Visitor.Logout", {}, console.log)
The response body is of type LogoutResponse.
| Name | Description | Data Type |
|---|---|---|
| LogoutResult | A string value containing a JSON object.
{
"Result": {
"Success": true,
"Message": "The account was logged out successfully and the session was ended.",
"ElapsedTime": "75 ms"
}
}
| xml:string |