Composable Commerce functionalities

The commercetools Frontend Store Launchpad for B2C Retail uses the commercetools Composable Commerce APIs to execute actions.

The Store Launchpad for B2C Retail implements Composable Commerce functionality by using the Composable Commerce extension. Following are the actions available in the Store Launchpad for B2C Retail and the related Composable Commerce API actions.
For more information, see the following files in the actionControllers folder of the Composable Commerce extension:

  • AccountController.ts
  • CartController.ts
  • ProductController.ts
  • ProjectController.ts
  • WishlistController.ts

Account

commercetools Frontend actioncommercetools Composable Commerce action
Create Customer account: registerCreate (sign up) Customer
Request confirmation email token: requestConfirmationEmailCreate email token for Customer
Confirm Customer's email with token: confirmVerify email of Customer
Login account: loginAuthenticate (sign in) Customer
Change password of account: passwordChange password of Customer
Generate token to reset password of account: requestResetCreate password reset token for Customer
Reset password: resetReset password of Customer
Update account details - first name: updateSet First Name
Update account details - last name: updateSet Last Name
Update account details - salutation: updateSet Salutation
Update account details - date of birth: updateSet Date of Birth
Add billing and shipping addresses: addAddressAdd Address
Update billing and shipping addresses: updateAddressChange Address
Remove billing and shipping addresses: removeAddressRemove Address
Set default billing address: setDefaultBillingAddressSet Default Billing Address
Set default shipping address: setDefaultShippingAddressSet Default Shipping Address

Cart

commercetools Frontend actioncommercetools Composable Commerce action
Get a Cart for an anonymous or logged in account: getCartGet Cart
Add Line Item to Cart: addToCartAdd LineItem
Update Cart Line Item: updateLineItemChange LineItem Quantity
Remove Cart Line Item: removeLineItemRemove LineItem
Update Cart details - email: updateCartSet Customer Email
Update Cart details - shipping address: updateCartSet Shipping Address
Update Cart details - billing address: updateCartSet Billing Address
Create Order from Cart: checkoutCreate Order from Cart
Get Orders for account: getOrdersQuery Orders
Get Shipping Methods: getShippingMethodsQuery ShippingMethods
Get Shipping Methods for matching location: getShippingMethodsGet matching Shipping Methods for a Location
Get Shipping Methods for a Cart: getAvailableShippingMethodsGet matching Shipping Methods for a Cart
Set Shipping Method: setShippingMethodSet ShippingMethod
Redeem Discount: redeemDiscountAdd DiscountCode
Remove Discount: removeDiscountRemove DiscountCode
Add Payment by invoice: addPaymentByInvoiceCreate Payment
Update Payment: updatePaymentUpdate Payment

Product

commercetools Frontend actioncommercetools Composable Commerce action
Get Product by SKU or ID: getProductQuery ProductProjections
Query Products with filters, sorting, and pagination: queryQuery ProductProjections
Query Categories with pagination: queryCategoriesQuery Categories
Get searchable attributes: searchableAttributesQuery ProductTypes

Project

commercetools Frontend actioncommercetools Composable Commerce action
Get Project settings: getProjectSettingsGet Project

Wishlist

commercetools Frontend actioncommercetools Composable Commerce action
Create wishlist: createWishlistCreate ShoppingList
Get a wishlist for an anonymous or logged in account: getWishlistGet ShoppingList
Add Product to wishlist: addToWishlistAdd ShoppingListLineItem
Remove Product from wishlist: removeLineItemRemove ShoppingListLineItem
Update Product count from wishlist: updateLineItemCountChange ShoppingListLineItem Quantity