Soenneker.Shopify.HttpClients
4.0.110
Prefix Reserved
dotnet add package Soenneker.Shopify.HttpClients --version 4.0.110
NuGet\Install-Package Soenneker.Shopify.HttpClients -Version 4.0.110
<PackageReference Include="Soenneker.Shopify.HttpClients" Version="4.0.110" />
<PackageVersion Include="Soenneker.Shopify.HttpClients" Version="4.0.110" />
<PackageReference Include="Soenneker.Shopify.HttpClients" />
paket add Soenneker.Shopify.HttpClients --version 4.0.110
#r "nuget: Soenneker.Shopify.HttpClients, 4.0.110"
#:package Soenneker.Shopify.HttpClients@4.0.110
#addin nuget:?package=Soenneker.Shopify.HttpClients&version=4.0.110
#tool nuget:?package=Soenneker.Shopify.HttpClients&version=4.0.110
Soenneker.Shopify.HttpClients
Provides a reusable HttpClient configured for a store's Shopify Admin GraphQL endpoint and access-token authentication.
Installation
dotnet add package Soenneker.Shopify.HttpClients
Configuration
{
"Shopify": {
"AccessToken": "your-access-token",
"StoreName": "your-store",
"ApiVersion": "2026-07"
}
}
This resolves to https://your-store.myshopify.com/admin/api/2026-07/graphql.json.
If you need full control over the endpoint, set Shopify:ClientBaseUrl instead:
{
"Shopify": {
"AccessToken": "your-access-token",
"ClientBaseUrl": "https://your-store.myshopify.com/admin/api/2026-07/graphql.json"
}
}
Usage
using Soenneker.Shopify.HttpClients.Abstract;
using Soenneker.Shopify.HttpClients.Registrars;
services.AddShopifyGraphQlHttpClientAsSingleton();
public sealed class ShopifyGraphQlSender
{
private readonly IShopifyGraphQlHttpClient _shopify;
public ShopifyGraphQlSender(IShopifyGraphQlHttpClient shopify)
{
_shopify = shopify;
}
public async Task<HttpResponseMessage> Send(
HttpContent graphQlRequest,
CancellationToken cancellationToken)
{
HttpClient client = await _shopify.Get(cancellationToken);
return await client.PostAsync("", graphQlRequest, cancellationToken);
}
}
The provider owns the cached HttpClient; disposing the provider removes and disposes that client. Scoped registration creates an independently owned client for each scope.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.877)
- Soenneker.Utils.HttpClientCache (>= 4.0.2062)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Shopify.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Shopify.GraphQlClientUtil
Provides a lazily initialized, authenticated Shopify Admin GraphQL client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.110 | 0 | 9/7/2026 |
| 4.0.109 | 0 | 9/7/2026 |
| 4.0.108 | 51 | 9/5/2026 |
| 4.0.107 | 56 | 9/5/2026 |
| 4.0.106 | 57 | 9/4/2026 |
| 4.0.105 | 54 | 9/4/2026 |
| 4.0.104 | 64 | 9/4/2026 |
| 4.0.103 | 47 | 9/4/2026 |
| 4.0.101 | 50 | 9/4/2026 |
| 4.0.100 | 70 | 9/3/2026 |
| 4.0.99 | 102 | 9/1/2026 |
| 4.0.98 | 79 | 9/1/2026 |
| 4.0.97 | 78 | 8/31/2026 |
| 4.0.96 | 96 | 8/31/2026 |
| 4.0.95 | 101 | 8/31/2026 |
| 4.0.94 | 78 | 8/31/2026 |
| 4.0.93 | 106 | 8/31/2026 |
| 4.0.92 | 98 | 8/31/2026 |
| 4.0.91 | 83 | 8/30/2026 |
| 4.0.90 | 151 | 8/30/2026 |