User Logout

Log a user out of a mobile session.

zapiLogout

POST https://{yourdomainname}.zaui.net/zapi/

Request Body

<?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>

Last updated