public static MozuUrl addItemsToCartUrl ( Boolean throwErrorOnInvalidItems ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/carts/current/bulkitems?throwErrorOnInvalidItems={throwErrorOnInvalidItems}" ) ; formatter . formatUrl ( "throwErrorOnInvalidItems" , throwErrorOnInvalidItems ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for AddItemsToCart