Composable Commerce functionalities
The Store Launchpad for B2B Manufacturing uses the commercetools Composable Commerce APIs to execute actions.
The Store Launchpad for B2B Manufacturing implements Composable Commerce functionality by using the Composable Commerce extension for B2B. Following are the actions available in the Store Launchpad for B2B Manufacturing and the related Composable Commerce API actions.
For more information, see the following files in the actionControllers
folder of the Composable Commerce extension for B2B:
AccountController.ts
BusinessUnitController.ts
CartController.ts
ProductController.ts
ProjectController.ts
QuoteController.ts
WishlistController.ts
Account
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Create Customer account: register | Create (sign up) Customer |
Request confirmation email token: requestConfirmationEmail | Create email token for Customer |
Confirm Customer's email with token: confirm | Verify email of Customer |
Login account: login | Authenticate (sign in) Customer |
Change password of account: password | Change password of Customer |
Generate token to reset password of account: requestReset | Create password reset token for Customer |
Reset password: reset | Reset password of Customer |
Update account details - first name: update | Set First Name |
Update account details - last name: update | Set Last Name |
Update account details - salutation: update | Set Salutation |
Update account details - date of birth: update | Set Date of Birth |
Add address: addAddress | Add Address |
Update address: updateAddress | Change Address |
Remove address: removeAddress | Remove Address |
Add shipping address: addShippingAddress | Add Address, Add Shipping Address ID, Set Default Shipping Address |
Add billing address: addBillingAddress | Add Address, Add Billing Address ID, Set Default Billing Address |
Set default shipping address: setDefaultShippingAddress | Set Default Shipping Address |
Set default billing address: setDefaultBillingAddress | Set Default Billing Address |
Delete account: deleteAccount | Delete Customer |
Business Unit
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Get all Business Units: getBusinessUnits | Query Business Units |
Get Business Unit by key: getBusinessUnit | Get Business Unit by Key |
Get Orders for Business Unit: getBusinessUnitOrders | Query Orders |
Create Business Unit: create | Create BusinessUnit |
Update Business Unit details: updateBusinessUnit | Update BusinessUnit |
Add address: addBusinessUnitAddress | Add Address |
Update address: updateBusinessUnitAddress | Change Address |
Remove address: removeBusinessUnitAddress | Remove Address |
Add Associate: addAssociate | Add Associate |
Remove Associate: removeAssociate | Remove Associate |
Get Associate Roles: getAssociateRoles | Query AssociateRoles |
Update Associate Roles: updateAssociate | Change Associate |
Cart
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Get a Cart for an anonymous or logged in account: getCart | Get Cart |
Add Line Item to Cart: addToCart | Add LineItem |
Update Cart Line Item: updateLineItem | Change LineItem Quantity |
Remove Cart Line Item: removeLineItem | Remove LineItem |
Update Cart details - email: updateCart | Set Customer Email |
Update Cart details - shipping address: updateCart | Set Shipping Address |
Update Cart details - billing address: updateCart | Set Billing Address |
Create Order from Cart: checkout | Create Order from Cart |
Query Orders: queryOrders | Query Orders |
Get Shipping Methods: getShippingMethods | Query ShippingMethods |
Get Shipping Methods for matching location: getShippingMethods | Get matching Shipping Methods for a Location |
Get Shipping Methods for a Cart: getAvailableShippingMethods | Get matching Shipping Methods for a Cart |
Set Shipping Method: setShippingMethod | Set ShippingMethod |
Redeem Discount: redeemDiscount | Add DiscountCode |
Remove Discount: removeDiscount | Remove DiscountCode |
Add Payment by invoice: addPaymentByInvoice | Create Payment |
Update Payment: updatePayment | Update Payment |
Return Line Item: returnItems | Update Order |
Cancel Order: cancelOrder | Change OrderState |
Replicate Cart from Order: replicateOrder | Replicate Cart |
Split Line Item shipping: splitLineItem | Update Cart |
Reassign Cart to another Customer: reassignCart | Update Cart |
Product
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Get Product by SKU or ID: getProduct | Product Search |
Query Products with filters, sorting, and pagination: query | Product Search |
Query Categories with pagination: queryCategories | Query Categories |
Get searchable attributes: searchableAttributes | Query ProductTypes |
Project
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Get Project settings: getProjectSettings | Get Project |
Quote
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Create Quote Request: createQuoteRequest | Create QuoteRequest |
Query Quote Requests: queryQuoteRequests | Query QuoteRequests |
Cancel Quote Request: cancelQuoteRequest | Change Quote Request State |
Query Quotes: query | Query Quotes |
Accept Quote: acceptQuote | Change Quote State |
Decline Quote: declineQuote | Change Quote State |
Renegotiate Quote: renegotiateQuote | Request Quote Renegotiation |
Wishlist
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Get all wishlists: queryWishlists | Query ShoppingLists |
Get a wishlist for an anonymous or logged in account: getWishlist | Get ShoppingList |
Create wishlist: createWishlist | Create ShoppingList |
Delete wishlist: deleteWishlist | Delete ShoppingList by ID |
Add Product to a wishlist: addToWishlist | Add ShoppingListLineItem |
Add Product to multiple wishlists: addToWishlists | Add ShoppingListLineItem |
Remove Product from wishlist: removeLineItem | Remove ShoppingListLineItem |
Update Product count from wishlist: updateLineItemCount | Change ShoppingListLineItem Quantity |
Update wishlist details: updateWishlist | Update ShoppingList by ID |
Approvals
commercetools Frontend action | commercetools Composable Commerce action |
---|---|
Approve Approval Flow: approveApprovalFlow | Approve |
Reject Approval Flow: approveApprovalFlow | Reject |
Query Approval Flows: queryApprovalFlows | Query ApprovalFlow in BusinessUnit |
Create Approval Rule: createApprovalRule | Create ApprovalRule |
Update Approval Rule: updateApprovalRule | Update ApprovalRule |
Query Approval Rules: queryApprovalRules | Query ApprovalRule in BusinessUnit |