Magento Sdk Services
All services apis are defined using interfaces. The recommended way of customization when using Magento SDK is to provide custom implementation of services and register it as scoped in IoC.
AccountService is designed to be used by BFC by handling user account operations: login, register, profile, etc. This services proxies relevant requests to magento endpoints for complete integration.
CreateGuestTokenAsynccreates token for guest user
LoginAsynclogs user in
LogoutAsynclogs user out
GetProfileAsyncreturns user profile
RegisterAsyncregister new user.
UpdateProfileAsyncupdates user profile
RefreshTokenAsyncrefresh logged in user access token
GetContentAsyncreturns screen content configuration setup in Poq App Manager
PredictiveSearchService provides set of methods required by search suggestions feature of the app.
SearchAsyncreturns categories suggested for the specified search query.
ProductAttributesService helper service to simply work with magento attributes.
GetAttributeAsyncreturns an attribute by attribute code.
GetAttributeByIdAsyncreturns an attribute by attribute id.
SearchService provides set of methods required to show product listing page by category and keyword, in addition to this handles search by barcode functionality.
SearchAsyncreturns product listing page by category or keyword based on specified filters.
SearchByBarcodeAsyncreturns a product by barcode.
ProductService provides set of methods required to show product details page.
GetProductsAsyncreturns products by product ids.
GetProductsByVariantIdAsyncreturns products by variant ids.
ShopService provides set of methods required to show category navigation menu.
GetNavigationCategoriesAsyncreturns category navigation menu.