https://github.com/soenneker/soenneker.shopify.httpclients
A thread-safe singleton HttpClient for Shopify's GraphQL integration.
https://github.com/soenneker/soenneker.shopify.httpclients
csharp dotnet graph graphql graphqlhttpclient httpclient httpclients shop shopify singleton
Last synced: about 1 month ago
JSON representation
A thread-safe singleton HttpClient for Shopify's GraphQL integration.
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.shopify.httpclients
- Owner: soenneker
- License: mit
- Created: 2026-03-22T00:43:55.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-22T05:26:50.000Z (about 1 month ago)
- Last Synced: 2026-04-22T07:31:48.941Z (about 1 month ago)
- Topics: csharp, dotnet, graph, graphql, graphqlhttpclient, httpclient, httpclients, shop, shopify, singleton
- Language: C#
- Homepage: https://soenneker.com
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/soenneker.shopify.httpclients/)
[](https://github.com/soenneker/soenneker.shopify.httpclients/actions/workflows/publish-package.yml)
[](https://www.nuget.org/packages/soenneker.shopify.httpclients/)
#  Soenneker.Shopify.HttpClients
### A thread-safe singleton HttpClient for Shopify's GraphQL integration.
## Installation
```
dotnet add package Soenneker.Shopify.HttpClients
```
## Configuration
```json
{
"Shopify": {
"AccessToken": "your-access-token",
"StoreName": "your-store",
"ApiVersion": "2026-01"
}
}
```
This resolves to `https://your-store.myshopify.com/admin/api/2026-01/graphql.json`.
If you need full control over the endpoint, set `Shopify:ClientBaseUrl` instead:
```json
{
"Shopify": {
"AccessToken": "your-access-token",
"ClientBaseUrl": "https://your-store.myshopify.com/admin/api/2026-01/graphql.json"
}
}
```