Shopify Sdk Services
All services apis are defined using interfaces. The recommended way of customization when using Shopify SDK is to provide custom implementation of services and register it as scoped in IoC.
List of Available Services
FeedExporter
generates CsvProduct and CsvCategories from provided categories and products.
ProductAssigner
Maps custom collection to products
ShopifyFeedDataService
obtains data for all categories and products in shopify admin.
ShopifyFeedService
Converts raw shopify contract objects to csv records and stores them in feed files. Overriding mapping in csv is accomplished by providing IFeedExporter.
AccountService
AccountService is designed to be used by BFC by handling user account operations: login, register, profile, etc. This services proxies relevant requests to shopify endpoints for complete integration.
Methods
CreateGuestTokenAsynccreates token for guest userLoginAsynclogin existing userLogoutAsynclogout logged in userGetProfileAsyncreturns user profileRegisterAsyncregister new user.UpdateProfileAsyncupdates user profileRefreshTokenAsyncrefresh logged in user access tokenGetContentAsyncreturns screen content configuration setup in Poq App ManagerGenerateEncodedTokenInfoStringgenerates encoded bearer token valueGetAccessTokenFromAuthHeaderreadsAuthorizationheader value and extracts shopify custom access token from it.IsGuestreadsAuthorizationheader value and returns current user status.
CartService
CartService handles all required cart operations
CheckoutService
CheckoutService handles checkout/start endpoint
ProductService
ProductService handles /products endpoint
SearchService
SearchService handles /search endpoint
Converters
Converters are used internally by Shopify SDK, but they are also exposed to ease any custom implementation needed.