Class ExtendedCartController
- java.lang.Object
-
- de.hybris.platform.acceleratorwebservicesaddon.controllers.ExtendedCartController
-
@Controller @RequestMapping("/{baseSiteId}/cart") public class ExtendedCartController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExtendedCartController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModificationDataListconsolidatePickupLocations(java.lang.String storeName)Web service handler for consolidating pickup locations
Sample target URL : http://localhost:9001/rest/v1/cart/consolidate?storeName=Encoded%20Store%20Name
Request Method =POSTPointOfServiceDataListgetConsolidatedPickupOptions()Web service handler for getting consolidated pickup options
Sample target URL : http://localhost:9001/rest/v1/cart/consolidatedOptions
Request Method =GET
-
-
-
Method Detail
-
getConsolidatedPickupOptions
@RequestMapping(value="/consolidate", method=GET) @ResponseBody public PointOfServiceDataList getConsolidatedPickupOptions()Web service handler for getting consolidated pickup options
Sample target URL : http://localhost:9001/rest/v1/cart/consolidatedOptions
Request Method =GET- Returns:
PointOfServiceDataListas response body
-
consolidatePickupLocations
@RequestMapping(value="/consolidate", method=POST) @ResponseBody public CartModificationDataList consolidatePickupLocations(@RequestParam(required=true) java.lang.String storeName) throws CommerceCartModificationExceptionWeb service handler for consolidating pickup locations
Sample target URL : http://localhost:9001/rest/v1/cart/consolidate?storeName=Encoded%20Store%20Name
Request Method =POST- Parameters:
storeName- - name of store where items will be picked- Returns:
CartModificationDataListas response body- Throws:
CommerceCartModificationException
-
-