WEBCentralizedShoppingCartStoreForeWeb

Initial Build

2013.01

xWEB

Web Method

Response Type

string(guid)

The WEBCentralizedShoppingCartStoreForeWeb web method allows you to save an order to NetForum in an uncommitted state, and then have the shopper complete the transaction in eWeb. For the user to pick up the order in eWeb, the EnableEwebSavedShoppingCart system option must be set to true.

This web method is intended for third-party shopping applications to allow a user to browse and select items externally to NetForum, assemble a cart with one or more items, post that cart to NetForum via this web method, and then bounce the user over to NetForum eWeb to check out and pay in NetForum. This can be a solution if the 3rd party shopping cart is not equipped to accept electronic payments.

Parameters

The request contains the following parameters:

Name Type Occurs Description 
oCentralizedOrderEntry CentralizedOrderEntryType 1..1 The order.

Response

String—The primary key of the uncommitted order.

JSON Method

POST /xWeb/JSON/WEBCentralizedShoppingCartStoreForeWeb

Copy
DATA: JSON
{
    "WEBCentralizedShoppingCartStoreForeWeb": {
        "oCentralizedOrderEntry": {{orderEntryObjWEBCentralizedShoppingCartStoreForeWeb}}
    }
}

 

Copy
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
899406c5-2dc0-4cfb-b232-2a66b1d9403e