Uses of Class
de.hybris.platform.commercewebservicescommons.errors.exceptions.StockSystemException
-
Packages that use StockSystemException Package Description de.hybris.platform.ycommercewebservices.v1.controller -
-
Uses of StockSystemException in de.hybris.platform.ycommercewebservices.v1.controller
Methods in de.hybris.platform.ycommercewebservices.v1.controller that throw StockSystemException Modifier and Type Method Description CartModificationDataCartController. addToCart(java.lang.String baseSiteId, java.lang.String code, long qty, java.lang.String storeName)Web service handler for adding new products to the session cart.
Sample target URL : http://localhost:9001/rest/v1/cart/entry.
Client should provide product code and quantity (optional) as POST body.
It's also possible to add product that will be pickedup in store by specifying optional storeName parameter (product must be in stock in that particular store).
For Content-Type=application/x-www-form-urlencoded;charset=UTF-8 a sample body is: (urlencoded) is: entryNumber=1&qty=2..
Request Method =POSTResponse contains a set-cookie header with the jsessionId associated with the cart.StockDataProductsController. getStockData(java.lang.String baseSiteId, java.lang.String productCode, java.lang.String storeName)Web service handler for getting stock level in a given store.
Sample Call: http://localhost:9001/rest/v1/:site/products/:code/stock?storeName=CartModificationDataCartController. pickupEntryInStore(java.lang.String baseSiteId, long entryNumber, java.lang.String storeName)Web service for setting store where cart entry will be picked up.
Client should provide cart entry number as path variable and storeName parameter in body.
Sample target URL : http://localhost:9001/rest/v1/cart/entry/{entryNumber}/store
Response contains a set-cookie header with the jsessionId associated with the cart.
Request Method =PUTCartModificationDataCartController. updateEntryToDelivery(java.lang.String baseSiteId, long entryNumber)Web service reseting store where entry should be picked up.
-