WEBCentralizedShoppingCartGetNew

Initial Build

2008.01

xWEB

Web Method

Response Type

object

This method returns a new Shopping Cart Object for the specified customer. Many of the other eCommerce web methods require passing this Object as a parameter, and the method returns the updated Cart back to you.

Therefore, any new shopping experiences will generally begin by calling this method.

Parameters

CustomerKey (guid). The Customer Key of the customer who will be making the purchase. CustomerKey

Return

CentralizedOrderEntryType. A new Shopping Cart Object with information populated based on the Customer provided.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>b5d786b7-ff47-42ba-bebe-bcb8e1479cee
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCentralizedShoppingCartGetNew>
<ns:CustomerKey>6bf9cb1f-d761-403b-8106-a341c4363b49</ns:CustomerKey>
</ns:WEBCentralizedShoppingCartGetNew>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

This returns a shopping cart object(CentralizedOrderEntryType).

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>8bc750db-4907-4a31-9e9b-770cb2a42389</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartGetNewResponse xmlns="http://www.avectra.com/2005/">
<WEBCentralizedShoppingCartGetNewResult>
[[Shopping Cart Object]]
</WEBCentralizedShoppingCartGetNewResult>
</WEBCentralizedShoppingCartGetNewResponse>
</soap:Body>
</soap:Envelope>