Soenneker.Shopify.GraphQlClientUtil 11.0.268

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Shopify.GraphQlClientUtil --version 11.0.268
                    
NuGet\Install-Package Soenneker.Shopify.GraphQlClientUtil -Version 11.0.268
                    
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="11.0.268" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Shopify.GraphQlClientUtil" Version="11.0.268" />
                    
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 11.0.268
                    
#r "nuget: Soenneker.Shopify.GraphQlClientUtil, 11.0.268"
                    
#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@11.0.268
                    
#: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=11.0.268
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Shopify.GraphQlClientUtil&version=11.0.268
                    
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 net11.0 is compatible. 
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
11.0.282 0 11/20/2026
11.0.281 71 11/19/2026
11.0.279 69 11/18/2026
11.0.278 70 11/18/2026
11.0.276 84 11/17/2026
11.0.275 81 11/15/2026
11.0.274 88 11/15/2026
11.0.273 92 11/13/2026
11.0.272 93 11/12/2026
11.0.271 94 11/11/2026
11.0.270 87 11/11/2026
11.0.269 91 11/11/2026
11.0.268 90 11/11/2026
11.0.267 95 11/11/2026
11.0.266 102 11/11/2026
11.0.265 84 11/10/2026
11.0.264 97 11/7/2026
11.0.263 90 11/6/2026
11.0.262 90 11/5/2026
11.0.261 98 11/3/2026
Loading failed

Updated Multiple NuGet packages