| Package | Description |
|---|---|
| de.hybris.platform.ycommercewebservices.v1.controller | |
| de.hybris.platform.ycommercewebservices.v2.controller |
| Modifier and Type | Method and Description |
|---|---|
CartModificationData |
CartController.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 = POST |
StockData |
ProductsController.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= |
CartModificationData |
CartController.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 = PUT |
CartModificationData |
CartController.updateEntryToDelivery(java.lang.String baseSiteId,
long entryNumber)
Web service reseting store where entry should be picked up.
|
| Modifier and Type | Method and Description |
|---|---|
CartModificationWsDTO |
CartsController.addCartEntry(java.lang.String baseSiteId,
OrderEntryWsDTO entry,
java.lang.String fields) |
CartModificationWsDTO |
CartsController.addCartEntry(java.lang.String baseSiteId,
java.lang.String code,
long qty,
java.lang.String pickupStore,
java.lang.String fields) |
StockWsDTO |
ProductsController.getStockData(java.lang.String baseSiteId,
java.lang.String productCode,
java.lang.String storeName,
java.lang.String fields) |
Copyright © 2018 SAP SE. All Rights Reserved.