Quinten
Quinten
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
Greetings! The following is not fully clear for me how it is integrated. So Alokai provides an SDK which confirms to the Unified Data Layer (model and methods). This makes it possible to easily switch from e-commerce back-end because each integration and SDK needs to follow these conventions. On the SDK documentation (https://docs.alokai.com/sdk/getting-started) the integrations of https://docs.alokai.com/integrations are mentioned, which includes Magento 2. But looking at the Magento 2 SDK documentation (https://docs.alokai.com/integrations/magento/api/magento-sdk/) it does not conform to the conventions set by the Unified Data Layer. As an example it looks like to fetch a product with the Magento SDK it uses the method .products(...) while the UDM is getProducts(...). The thing that confuses me is that the following page (https://docs.alokai.com/storefront/unified-data-layer/unified-methods/products) shows that Magento 2 SDK does support this method. If I had to take a guess is that there is an OS SDK and enterprise SDK for Magento 2? Where the enterprise SDK follows the UDM. Will this mean that the OS SDK will never adhere to the conventions of the UDM?
17 replies