1 min read
Shopify Api Clients
Poq.Backend.Shopify.Client namespace provides Contracts and Clients that allow quick usage of Shopify API.
Contain all necessary contracts to use Shopify clients effectively.
Provides creation of user account in Shopify, accessing user account details, accessing user orders, obtain user order by id. It uses
ShopifyClientConfiguration.StoreFrontAccessToken to access Shopify Storefront Graphql API
CreateAccountAsynccreates customer account with provided parameters.
UpdateAccountAsyncupdates customer account. Requires customer access token.
GetAccountDetailsAsyncreturns customer account details. Requires customer access token.
GetAccountOrdersAsyncreturns customer orders.
GetAccountOrderAsyncreturns customer order details.
DeleteAccountAsyncmarks customer account as deleted.
Provides CRUD operation for user addresses.
CreateAddressAsynccreates customer address
UpdateAddressAsyncupdates customer address
DeleteAddressAsyncdeletes customer address
ListAddressesAsyncreturns list of customer addresses
SetDefaultAddressAsyncsets default customer address
GetAddressAsyncreturns address details
Provides creation of order with list of products inside.
CreateCheckoutAsynccreates shopify checkout with specified items and currencies.
AssociateCustomerToCheckoutAsyncassociates customer to shopify checkout. Resolves registered users access to shopify checkout.
Provides login, logout, token renewal operations.
GetTokenAsyncobtains access token for registered user(login).
TokenRenewAsyncrenews customer access token
LogoutAsyncdeletes customer access token
This client is intended to support work with custom and smart collections defined in shopify administration.
When custom code is added to shopify site this client can obtain entire navigation tree defined in shopify administration. This client is used when building category tree from feed file.
Provides listing all products, get product by collectionId, get products updated after certain date. This client is used to obtain products information and generate feed file.