setItemQuantity Web Service
The setItemQuantity
Web service sets the item quantity for the given commerce item in the given shipping group. The default shipping group is used if the shipping group ID argument is null. If the quantity is set to zero, the item is removed from the shipping group (and the order if the item is part of only one shipping group).
Servlet Name | setItemQuantity
|
Input Parameters | orderId - The ID of the order containing the item.
commerceItemId - The ID of the item whose quantity will be modified.
quantity - The new quantity of the item.
|
Output | |
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/setItemQuantity?WSDL
|
Endpoint URL | http:// hostname:port /commerce/order/setItemQuantity/setItemQuantity
|
Method | setItemQuantity(String orderId, String commerceItemId, long quantity, String pShippingGroupId)
|
Security FunctionalName | orderManagement
|