Soenneker.Shopify.GraphQlClientUtil
4.0.174
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Shopify.GraphQlClientUtil --version 4.0.174
NuGet\Install-Package Soenneker.Shopify.GraphQlClientUtil -Version 4.0.174
<PackageReference Include="Soenneker.Shopify.GraphQlClientUtil" Version="4.0.174" />
<PackageVersion Include="Soenneker.Shopify.GraphQlClientUtil" Version="4.0.174" />
<PackageReference Include="Soenneker.Shopify.GraphQlClientUtil" />
paket add Soenneker.Shopify.GraphQlClientUtil --version 4.0.174
#r "nuget: Soenneker.Shopify.GraphQlClientUtil, 4.0.174"
#:package Soenneker.Shopify.GraphQlClientUtil@4.0.174
#addin nuget:?package=Soenneker.Shopify.GraphQlClientUtil&version=4.0.174
#tool nuget:?package=Soenneker.Shopify.GraphQlClientUtil&version=4.0.174
Soenneker.Shopify.GraphQlClientUtil
Provides a lazily initialized, strongly typed client for Shopify Admin GraphQL mutations across products, orders, customers, fulfillment, discounts, subscriptions, webhooks, and store configuration.
Installation
dotnet add package Soenneker.Shopify.GraphQlClientUtil
Configuration
{
"Shopify": {
"AccessToken": "your-access-token",
"StoreName": "your-store",
"ApiVersion": "2026-07"
}
}
Set Shopify:ClientBaseUrl instead when you need to supply the complete GraphQL endpoint.
Usage
using Soenneker.Shopify.GraphQlClient;
using Soenneker.Shopify.GraphQlClientUtil.Abstract;
using Soenneker.Shopify.GraphQlClientUtil.Registrars;
services.AddShopifyGraphQlClientUtilAsSingleton();
public sealed class ShopifyTagger
{
private readonly IShopifyGraphQlClientUtil _shopify;
public ShopifyTagger(IShopifyGraphQlClientUtil shopify)
{
_shopify = shopify;
}
public async Task<TagsAddPayload?> AddTag(
string productId,
CancellationToken cancellationToken)
{
ShopifyGraphQlClient client = await _shopify.Get(cancellationToken);
return await client.Tags.Add.GetValue(
new TagsAddVariables
{
Id = productId,
Tags = ["featured"]
},
cancellationToken);
}
}
GetValue(...) returns the mutation payload directly; use Execute(...) when you also need top-level GraphQL errors. Use AddShopifyGraphQlClientUtilAsScoped() for a separate generated wrapper per scope. Both registrations retain the singleton authenticated HTTP client provider.
| 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.Shopify.GraphQlClient (>= 4.0.85)
- Soenneker.Shopify.HttpClients (>= 4.0.108)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.175 | 0 | 9/7/2026 |
| 4.0.174 | 40 | 9/6/2026 |
| 4.0.173 | 49 | 9/5/2026 |
| 4.0.172 | 48 | 9/5/2026 |
| 4.0.171 | 43 | 9/4/2026 |
| 4.0.170 | 44 | 9/4/2026 |
| 4.0.169 | 45 | 9/4/2026 |
| 4.0.168 | 48 | 9/4/2026 |
| 4.0.167 | 39 | 9/4/2026 |
| 4.0.166 | 44 | 9/4/2026 |
| 4.0.165 | 48 | 9/4/2026 |
| 4.0.164 | 36 | 9/4/2026 |
| 4.0.163 | 43 | 9/3/2026 |
| 4.0.162 | 73 | 9/1/2026 |
| 4.0.161 | 71 | 9/1/2026 |
| 4.0.160 | 77 | 8/31/2026 |
| 4.0.159 | 84 | 8/31/2026 |
| 4.0.158 | 79 | 8/31/2026 |
| 4.0.157 | 93 | 8/31/2026 |
| 4.0.156 | 100 | 8/31/2026 |