Soenneker.Shopify.GraphQlClientUtil 4.0.184

Prefix Reserved
dotnet add package Soenneker.Shopify.GraphQlClientUtil --version 4.0.184
                    
NuGet\Install-Package Soenneker.Shopify.GraphQlClientUtil -Version 4.0.184
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Shopify.GraphQlClientUtil" Version="4.0.184" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Shopify.GraphQlClientUtil" Version="4.0.184" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Shopify.GraphQlClientUtil" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Shopify.GraphQlClientUtil --version 4.0.184
                    
#r "nuget: Soenneker.Shopify.GraphQlClientUtil, 4.0.184"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Shopify.GraphQlClientUtil@4.0.184
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Shopify.GraphQlClientUtil&version=4.0.184
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Shopify.GraphQlClientUtil&version=4.0.184
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.184 56 9/9/2026
4.0.183 61 9/9/2026
4.0.182 74 9/8/2026
4.0.181 72 9/8/2026
4.0.180 67 9/8/2026
4.0.179 72 9/8/2026
4.0.178 73 9/8/2026
4.0.177 85 9/7/2026
4.0.176 87 9/7/2026
4.0.175 79 9/7/2026
4.0.174 82 9/6/2026
4.0.173 91 9/5/2026
4.0.172 90 9/5/2026
4.0.171 82 9/4/2026
4.0.170 87 9/4/2026
4.0.169 87 9/4/2026
4.0.168 89 9/4/2026
4.0.167 80 9/4/2026
4.0.166 84 9/4/2026
4.0.165 89 9/4/2026
Loading failed