@plentymarkets/shop-api / doLogoutUser
Function: doLogoutUser() ​
doLogoutUser(
context
):Promise
<Data
<null
>>
Method doLogoutUser - Logs out the currently logged-in user/guest.
Parameters ​
• context: PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<null
>>
Remarks ​
- Calls /rest/storefront/contact/logout/
- This method can be used to log out the currently logged-in user/guest.
Example ​
ts
await useSdk().plentysystems.doLogoutUser();