Official SDKs.Every Language.
6 official SDKs maintained by the Shopflow team. Type-safe. Idiomatic. Production-ready from day one.
Official SDKs
Maintained by the Shopflow engineering team. Semantic versioning. Breaking changes never shipped without a major version bump.
Node.js / TypeScript
@shopflow/node
First-class TypeScript support with full type definitions included. Works with Node.js 18+ and Edge runtimes.
npm install @shopflow/nodePython
shopflow
Pythonic interface with type hints, async/await support, and Pydantic models for all API objects.
pip install shopflowPHP
shopflow/sdk
PSR-compliant. Laravel service provider included. PHP 8.1+. Guzzle-based HTTP client.
composer require shopflow/sdkRuby
shopflow
Idiomatic Ruby with Rails helpers, ActiveRecord-style models, and Faraday HTTP client.
gem install shopflowGo
go.shopflow.io/sdk
Idiomatic Go with context support, zero external dependencies, and full concurrency safety.
go get go.shopflow.io/sdkJava / Kotlin
io.shopflow:sdk
Supports Java 17+ and Kotlin. Spring Boot autoconfiguration included. Maven + Gradle.
io.shopflow:sdk:1.2.0What's Included in Every SDK
All official SDKs share the same features. Same coverage. No second-class citizens.
| FEATURE | Node.js | Python | PHP | Ruby | Go | Java |
|---|---|---|---|---|---|---|
| Full API Coverage | ||||||
| Type Safety | TypeScript native | Type hints | PHPStan | Sorbet | Native | Native |
| Async Support | ||||||
| Auto-Retry + Backoff | ||||||
| Idempotency Keys | ||||||
| Webhook Signature Verification | ||||||
| Pagination Helpers | ||||||
| Error Handling | ||||||
| Logging Hooks | ||||||
| Framework Integration | Next.js, Remix | Django, FastAPI | Laravel, Symfony | Rails | Gin, Echo | Spring Boot |
Framework Integrations
Drop-in packages for your favorite framework. Zero config. Works in 5 minutes.
Next.js
@shopflow/nextjs
Most PopularReact
@shopflow/react
Vue / Nuxt
@shopflow/vue
Remix
@shopflow/remix
Astro
@shopflow/astro
SDK in Action
Real code. Real use cases.
import Shopflow from '@shopflow/node';
const sf = new Shopflow({
secretKey: process.env.SHOPFLOW_SECRET,
});
const order = await sf.orders.create({
customer: { email: 'john@acme.com' },
lineItems: [{
variantId: 'var_01HABC',
quantity: 3,
}],
payment: {
method: 'net_30',
currency: 'CAD',
},
});
console.log(order.id); // ord_01HXYZ
console.log(order.status); // confirmedCommunity Libraries
Built and maintained by the Shopflow community. Not officially supported, but battle-tested.
Community libraries are not maintained by Shopflow. Use official SDKs for production-critical integrations.
.NET / C#
By @mikhail-dev
NuGet: Shopflow.Client
Django Integration
By @sarah-codes
pip install django-shopflow
WordPress Plugin
By @wpmaster
WordPress Plugin
Svelte / SvelteKit
By @svelte-store
npm i @shopflow/svelte
Latest SDK Updates
Stay current. Breaking changes clearly marked.
Fix race condition in cart webhook handler
Add async/await support for all endpoints
React Server Components support
Open Source. Built in the Open.
All official SDKs are open source under the MIT license. Found a bug? Have a feature request? PRs welcome.
Report a Bug
Found something broken? Open a GitHub Issue.
Submit a PR
Fixed a bug or added a feature? We review PRs weekly.
Request a Feature
Missing something? Vote on the public roadmap.
Start Building With Your Stack
Install in 10 seconds. First API call in 3 minutes. Full production coverage from day one.