The Vue Storefront Essentials Course is now available! Learn More
04a9ef6: FIXED Allow 0 to be a valid shipping price in normalizeOrder
a4d76f8: FIXED Handle null price and image_groups in normalizeAlgoliaProductCatalogItem in Algolia extension.
724a3a2: Exported NormalizerContext type
64b7b17: Added error handling on registerCustomer endpoint. Now if e-commerce response will be negative, unified endpoint return HTTP 400 with message Could not register customer
2ac49bc: Added support for Algolia. A separate sub-package available as @vsf-enterprise/unified-api-sfcc/algolia. Using this API methods you can easily replace the searchProduct endpoint to the one based on the Algolia API. For further information check the Algolia Integration chapter in the docs.
d514fe7: Implement a new GetCategory method which allows to get the category and its ancestors by category id.
d3b0594: The searchProducts endpoint is updated to match the updated behavior of the unified-data-model. Removed the "latest" from the translated sort options, which wasn't available by default in SFCC. Still, all non-standard sorting options are passing by directly to the API request.
1f52ffa: Update dependencies
b7cccc5: Update dependencies
6a3e0e8: Customize SfFacet type with getFacetType config method.
Filter out facets data from searchProducts API method with filterFacets config method.
Updated dependencies 6a3e0e8
027ba5cc: Fixed product discount on PLP
f5d72f14: Update unified-data-model version
1df82d2c: Enhanced getCurrencies method to return current currency value
f5a32640: Unified error response for changeCustomerPassword. Now when currentPassword is invalid, a 403 error response will be returned.
Updated dependencies 1df82d2c
Added endpoints for fetching list or user's orders and particular one. Also added necessary normalizers for SfOrder, SfOrderLineItem and SfOrderListItem.
Added placeOrder endpoint
Fixed addCartLineItem for product variants
Fixed searchProducts's categoryHierarchy including selected category
Changed the way of calculating SfDiscountedPrice to be based on comparing pricelists for given product.
Added endpoints for adding, removing & updating line items in cart
Implemented getProducts() api handler
Implemented setCartAddress method for checkout
Implemented setCustomerEmail method for checkout
Implemented getAvailableShippingMethods and setShippingMethod methods for checkout
Created normalization function for SfCartLineItem. Updated getCart method to fetch product data for line items.