User Logout
Log a user out of a mobile session.
zapiLogout
POST
https://{yourdomainname}.zaui.net/zapi/
Request Body
Token that must be used for a reseller to communicate with the supplier system.
Generated by the supplier system.
Generated by the supplier system when a new contact is created.
Current session to log the user out of.
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiLogout</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage>You're logged out!</methodErrorMessage>
</methodResponse>
</response>
<request>
<zapiToken></zapiToken>
<zapiAccountId></zapiAccountId>
<zapiUserId></zapiUserId>
<zapiMethod>
<methodName>zapiLogout</methodName>
<cartId></cartId>
</zapiMethod>
</request>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.0</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiLogout</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage>Logout Successful</methodErrorMessage>
</methodResponse>
</response>