addItemToShippingGroup Web Service
The addItemToShippingGroup
Web service adds the given product/SKU to a shipping group. If the product/SKU already exists in the shipping group, the quantity is increased.
Servlet Name | addItemToShippingGroup
|
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 shipping group.
skuId – The ID of the SKU to be added to the shipping group. quantity – The number of the specified products or SKUs to be added to the shipping group. shippingGroupId – The ID of the shipping group to which the item will be added.
|
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/addItemToShippingGroup?WSDL
|
Endpoint URL | http:// hostname:port /commerce/order/addItemToShippingGroup/addItemToShippingGroup
|
Method | addItemToShippingGroup(String orderId, String productId, String skuId, long quantity, String shippingGroupId)
|
Security FunctionalName | orderManagement
|