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
CreateGuestTokenAsync
creates token for guest userLoginAsync
login existing userLogoutAsync
logout logged in userGetProfileAsync
returns user profileRegisterAsync
register new user.UpdateProfileAsync
updates user profileRefreshTokenAsync
refresh logged in user access tokenGetContentAsync
returns screen content configuration setup in Poq App ManagerGenerateEncodedTokenInfoString
generates encoded bearer token valueGetAccessTokenFromAuthHeader
readsAuthorization
header value and extracts shopify custom access token from it.IsGuest
readsAuthorization
header 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.