Uses of Class
de.hybris.platform.commercewebservicescommons.errors.exceptions.StockSystemException

Packages that use StockSystemException
  • Uses of StockSystemException in de.hybris.platform.ycommercewebservices.v1.controller

    Modifier and Type
    Method
    Description
    CartController.addToCart(String baseSiteId, String code, long qty, 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 = POST Response contains a set-cookie header with the jsessionId associated with the cart.
    ProductsController.getStockData(String baseSiteId, String productCode, 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=
    CartController.pickupEntryInStore(String baseSiteId, long entryNumber, 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 = PUT
    CartController.updateEntryToDelivery(String baseSiteId, long entryNumber)
    Web service reseting store where entry should be picked up.