Introduction
Reusable content blocks that can be used across multiple pages.
getBlocks
Getting all block objects.
getBlockByMarker
Getting a single block object by marker.
searchBlock
Quick search for block objects with limited output. It returns a Promise that resolves to an array of ISearchBlock objects.
getFrequentlyOrderedProducts
Getting frequently ordered products by block marker and product id.
getCartComplement
Get "complete your cart" products by the cart from context (authorized user or guest).
getCartComplementByProductIds
Get "complete your cart" products by an explicit list of productIds.
getCartSimilar
Get "similar to cart" products by the cart from context (authorized user or guest).
getCartSimilarByProductIds
Get "similar to cart" products by an explicit list of productIds.
getWishlistSimilar
Get "similar to wishlist" products by the wishlist from context (authorized user or guest).
getWishlistSimilarByProductIds
Get "similar to wishlist" products by an explicit list of productIds.
getPersonalRecommendations
Get personal recommendations for the user.
getRecentlyViewed
Get recently viewed products.
getRepeatPurchase
Get products for repeat purchase.
getTrending
Get trending products of the block.
getSlides
Get the block's slides tree as a flat pre-order array (slider_block only).