The addItemToOrder Web service adds the given product/SKU to the order. If the product/SKU already exists, the quantity is increased.

Servlet Name

addItemToOrder

Input Parameters

orderId – The ID of the order to which the item will be added.
productId – The ID of the product to be added to the order.
skuId – The ID of the SKU to be added to the order.
quantity
– The number of the specified products or SKUs to be added to the order.

Output

The ID of the commerce item that was either added or updated.

Web Service Class

atg.commerce.order.OrderServices

Nucleus Component

/atg/commerce/order/orderServices

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/order/addItemToOrder?WSDL

Endpoint URL

http://hostname:port/commerce/order/addItemToOrder/addItemToOrder

Method

addItemToOrder(String orderId, String productId, String skuId, long quantity)

Security FunctionalName

orderManagement


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices