SDK & Libraries

    Official SDKs.Every Language.

    6 official SDKs maintained by the Shopflow team. Type-safe. Idiomatic. Production-ready from day one.

    Node.js / TS
    Python
    PHP
    Ruby
    Go
    Java
    2.4M+ Downloads/month
    8.2K GitHub Stars
    Updated 2 days ago

    Official SDKs

    Maintained by the Shopflow engineering team. Semantic versioning. Breaking changes never shipped without a major version bump.

    v2.4.1

    Node.js / TypeScript

    @shopflow/node

    First-class TypeScript support with full type definitions included. Works with Node.js 18+ and Edge runtimes.

    TypeScriptESM + CJSEdge Ready
    npm install @shopflow/node
    1.2M/mo
    4.1K
    v2.4.1
    v2.1.0

    Python

    shopflow

    Pythonic interface with type hints, async/await support, and Pydantic models for all API objects.

    Type HintsAsync/AwaitPython 3.9+
    pip install shopflow
    680K/mo
    2.1K
    v2.1.0
    v1.9.2

    PHP

    shopflow/sdk

    PSR-compliant. Laravel service provider included. PHP 8.1+. Guzzle-based HTTP client.

    PSR-18Laravel ReadyPHP 8.1+
    composer require shopflow/sdk
    310K/mo
    890
    v1.9.2
    v1.7.0

    Ruby

    shopflow

    Idiomatic Ruby with Rails helpers, ActiveRecord-style models, and Faraday HTTP client.

    Rails HelperRuby 3.1+Faraday
    gem install shopflow
    180K/mo
    640
    v1.7.0
    v1.3.0

    Go

    go.shopflow.io/sdk

    Idiomatic Go with context support, zero external dependencies, and full concurrency safety.

    Zero DepsContext SupportGo 1.21+
    go get go.shopflow.io/sdk
    95K/mo
    520
    v1.3.0
    v1.2.0

    Java / Kotlin

    io.shopflow:sdk

    Supports Java 17+ and Kotlin. Spring Boot autoconfiguration included. Maven + Gradle.

    Spring BootKotlinMaven + Gradle
    io.shopflow:sdk:1.2.0
    72K/mo
    410
    v1.2.0

    What's Included in Every SDK

    All official SDKs share the same features. Same coverage. No second-class citizens.

    FEATURENode.jsPythonPHPRubyGoJava
    Full API Coverage
    Type SafetyTypeScript nativeType hintsPHPStanSorbetNativeNative
    Async Support
    Auto-Retry + Backoff
    Idempotency Keys
    Webhook Signature Verification
    Pagination Helpers
    Error Handling
    Logging Hooks
    Framework IntegrationNext.js, RemixDjango, FastAPILaravel, SymfonyRailsGin, EchoSpring Boot

    Framework Integrations

    Drop-in packages for your favorite framework. Zero config. Works in 5 minutes.

    Next.js

    @shopflow/nextjs

    Most Popular

    React

    @shopflow/react

    Vue / Nuxt

    @shopflow/vue

    Remix

    @shopflow/remix

    Astro

    @shopflow/astro

    SDK in Action

    Real code. Real use cases.

    example.js
    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);  // confirmed

    Community 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

    320

    Django Integration

    By @sarah-codes

    pip install django-shopflow

    215

    WordPress Plugin

    By @wpmaster

    WordPress Plugin

    180

    Svelte / SvelteKit

    By @svelte-store

    npm i @shopflow/svelte

    145

    Latest SDK Updates

    Stay current. Breaking changes clearly marked.

    Feb 18, 2026@shopflow/node v2.4.1PATCH

    Fix race condition in cart webhook handler

    Feb 10, 2026@shopflow/python v2.1.0MINOR

    Add async/await support for all endpoints

    Jan 28, 2026@shopflow/react v1.5.0MINOR

    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.

    2.4M+ downloads/month
    8.2K GitHub stars
    MIT License
    Updated weekly