Create a Unique Cart
Create a new cart session.
zapiCreateUniqueCartSession
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 when a new contact is created.
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>
<?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></methodErrorMessage>
<cartId></cartId>
<timeStamp></timeStamp>
</methodResponse>
</response>