WEBCentralizedShoppingCartAddLineItem
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
shopping cart object |
The WEBCentralizedShoppingCartAddLineItem web method adds a line item (of the InvoiceDetailStaticType type) to an existing shopping cart (of the CentralizedOrderEntryType type).
Parameters
Name | Type | Occurs | Description |
---|---|---|---|
oCentralizedOrderEntry | CentralizedOrderEntryType | 0(R)..1 | The active shopping cart object. |
oLineItem | InvoiceDetailStaticType | 0(R)..1 | The line item object to add to the cart. |
Response
CentralizedOrderEntryType—This method returns the Shopping Cart object with the line Item added to the cart's Invoice_DetailCollection.
Sample Request
<WEBCentralizedShoppingCartAddLineItem xmlns="http://www.avectra.com/2005/">
<oCentralizedOrderEntry>
[[Shopping Cart Object]]
</oCentralizedOrderEntry>
<oLineItem>
[[Line Item Object]]
</oLineItem>
</WEBCentralizedShoppingCartAddLineItem>
Sample Response
<WEBCentralizedShoppingCartAddLineItemResult>
<WEBCentralizedShoppingCartAddLineItemResponse>
<CentralizedOrderEntryType>
[[Shopping Cart Object]]
</CentralizedOrderEntryType>
</WEBCentralizedShoppingCartAddLineItemResult>
</WEBCentralizedShoppingCartAddLineItemResponse>