User Logout

Log a user out of a mobile session.

zapiLogout

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

Request Body

NameTypeDescription

zapiToken*

integer

Token that must be used for a reseller to communicate with the supplier system.

zapiAccountId*

integer

Generated by the supplier system.

zapiUserId*

integer

Generated by the supplier system when a new contact is created.

methodName*

string

The method being called.

cartId*

integer

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>

Last updated