1 min read
BigCommerce Api Clients
Poq.Backend.BigCommerce.Client
namespace provides Contracts and Clients that allow quick usage of BigCommerce API.
Contracts
Contain all necessary contracts to use BigCommerce clients effectively.
Clients
List of Available Clients
CartClient
Provides cart manipulation capabilities
Methods
CreateCartAsync
creates a user cart - endpointCreateEmptyCartAsync
creates an empty cart for guest user - endpointGetCartAsync
get the cart by cartId - endpointCreateCartRedirectUrlAsync
creates a cart redirect URL for redirecting a shopper to an already created cart using the cartId - endpointAddUserToCartAsync
updates a carts customerId - endpointDeleteCartAsync
deletes a cart - endpointAddCartItemsAsync
add line item to the cart - endpointUpdateCartItemAsync
updates an existing, single line item in the cart - endpointDeleteCartItemAsync
deletes a Cart line item - endpoint
CategoryClient
Provides methods to retrieve categories
Methods
GetAllCategoriesAsync
returns all categories. - endpoint
CustomerClient
Provides creation of user account in BigCommerce, accessing user account details and etc
Methods
CreateCustomerAsync
creates customer account with provided parameters. - endpointGetCustomerByIdAsync
get customer by id. - endpointUpdateCustomerAsync
updates customer account - endpointUpdateCustomerAttributeValuesAsync
updates customer account details. - endpointValidateCustomerAsync
validates customer account. - endpoint
ProductsClient
Provides methods to retrieve products
Methods
GetProductByIdAsync
returns product by productId - endpointGetProductVariantAsync
returns variant details of a product's variant. - endpointGetProductsAsync
returns list of a products. - endpoint
ProductGraphqlClient
Provides methods to retrieve product information using BigCommerce GraphQl API. - endpoint
Methods
SearchProductsOnProductAttributesAsync
searches for products by attribute value.GetProductsAsync
returns products by their ids.GetProductsAsync
returns product by its id.GetProductBySkuAsync
returns products by their sku.
SearchGraphqlClient
Provides methods to search for products in BigCommerce Graphql API - endpoint
Methods
GetProductBySkuAsync
returns products by their skus.
StorefrontClient
Obtains storefront token
Methods
GetStorefrontTokenAsync
Get storefront token - endpoint
StorefrontTokenGenerator
Provides methods to generate storefront token for customer
Methods
GenerateJwtToken
generates jwtGenerateJwtToken
generates jwt overload
SubscribersClient
Provides methods to manage subscribers
Methods
CreateSubscriberAsync
creates a Subscriber - endpointGetSubscribersAsync
returns a list of Subscribers. Optional filter parameters can be passed in - endpointDeleteSubscriberAsync
deletes a Subscriber - endpoint
WishlistClient
Provides methods to manage customer wish list
Methods
CreateWishlistAsync
creates wishlist - endpointAddWishlistItemAsync
creates wishlist item - endpointGetWishlistAsync
returns wishlist - endpointGetAllWishlistsAsync
returns all wishlists of a customer - endpointDeleteWishlistAsync
deletes wishlist - endpointDeleteWishlistItemAsync
deletes wishlist item - endpoint