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
CreateCartAsynccreates a user cart - endpointCreateEmptyCartAsynccreates an empty cart for guest user - endpointGetCartAsyncget the cart by cartId - endpointCreateCartRedirectUrlAsynccreates a cart redirect URL for redirecting a shopper to an already created cart using the cartId - endpointAddUserToCartAsyncupdates a carts customerId - endpointDeleteCartAsyncdeletes a cart - endpointAddCartItemsAsyncadd line item to the cart - endpointUpdateCartItemAsyncupdates an existing, single line item in the cart - endpointDeleteCartItemAsyncdeletes a Cart line item - endpoint
CategoryClient
Provides methods to retrieve categories
Methods
GetAllCategoriesAsyncreturns all categories. - endpoint
CustomerClient
Provides creation of user account in BigCommerce, accessing user account details and etc
Methods
CreateCustomerAsynccreates customer account with provided parameters. - endpointGetCustomerByIdAsyncget customer by id. - endpointUpdateCustomerAsyncupdates customer account - endpointUpdateCustomerAttributeValuesAsyncupdates customer account details. - endpointValidateCustomerAsyncvalidates customer account. - endpoint
ProductsClient
Provides methods to retrieve products
Methods
GetProductByIdAsyncreturns product by productId - endpointGetProductVariantAsyncreturns variant details of a product's variant. - endpointGetProductsAsyncreturns list of a products. - endpoint
ProductGraphqlClient
Provides methods to retrieve product information using BigCommerce GraphQl API. - endpoint
Methods
SearchProductsOnProductAttributesAsyncsearches for products by attribute value.GetProductsAsyncreturns products by their ids.GetProductsAsyncreturns product by its id.GetProductBySkuAsyncreturns products by their sku.
SearchGraphqlClient
Provides methods to search for products in BigCommerce Graphql API - endpoint
Methods
GetProductBySkuAsyncreturns products by their skus.
StorefrontClient
Obtains storefront token
Methods
GetStorefrontTokenAsyncGet storefront token - endpoint
StorefrontTokenGenerator
Provides methods to generate storefront token for customer
Methods
GenerateJwtTokengenerates jwtGenerateJwtTokengenerates jwt overload
SubscribersClient
Provides methods to manage subscribers
Methods
CreateSubscriberAsynccreates a Subscriber - endpointGetSubscribersAsyncreturns a list of Subscribers. Optional filter parameters can be passed in - endpointDeleteSubscriberAsyncdeletes a Subscriber - endpoint
WishlistClient
Provides methods to manage customer wish list
Methods
CreateWishlistAsynccreates wishlist - endpointAddWishlistItemAsynccreates wishlist item - endpointGetWishlistAsyncreturns wishlist - endpointGetAllWishlistsAsyncreturns all wishlists of a customer - endpointDeleteWishlistAsyncdeletes wishlist - endpointDeleteWishlistItemAsyncdeletes wishlist item - endpoint