Create a Unique Cart

Create a new cart session.

zapiCreateUniqueCartSession

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.

methodName*

string

The method being called.

zapiUserId*

integer

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

zapiAccountId*

integer

Generated by the supplier system.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiCreateUniqueCartSession</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>Session created</methodErrorMessage>
        <cartId>14f12494fd6dea1cd6da070e2d29c1d9</cartId>
        <createdTimeStamp>2021-11-24 10:37:50</createdTimeStamp>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiCreateUniqueCartSession</methodName>
	</zapiMethod>
</request>

Last updated