Skip to main content

Shopify App JavaScript SDK

The Shopify App JavaScript SDK is a collection of packages that make it easy to build Shopify apps and interact with Shopify’s APIs using TypeScript and JavaScript. Whether you’re building standalone API clients or full-featured Shopify apps, these packages provide the tools you need.

What You Can Build

The SDK supports multiple use cases:

API Clients

Lightweight clients for Admin API, Storefront API, and GraphQL with minimal setup and zero framework dependencies.

Shopify Apps

Full-featured apps with OAuth, session management, webhooks, and billing using Express or Remix frameworks.

Type-Safe GraphQL

Automatic TypeScript type generation for your GraphQL queries and mutations with codegen integration.

Custom Integrations

Framework-agnostic core library that works with any Node.js runtime or Cloudflare Workers.

Key Features

Lightweight and Modular

Only install what you need. Each package is designed to be independent with minimal dependencies.

Runtime Support

Works across multiple runtimes:
  • Node.js (Express, Remix, or custom frameworks)
  • Cloudflare Workers
  • Any runtime that implements the Web API standard

Type-Safe

Built with TypeScript from the ground up. Get autocomplete, type checking, and inline documentation in your IDE.

Production Ready

Used by thousands of Shopify apps in production. Includes automatic retries, error handling, and rate limit management.

Framework Agnostic

The core packages work with any framework. Official adapters available for Express and Remix.

Quickstart

Get up and running in 5 minutes

Choose a Package

Find the right package for your needs

API Reference

Explore the full API documentation

API Clients

These packages are perfect if you already have access tokens and want to interact with Shopify’s APIs:
  • @shopify/admin-api-client - GraphQL and REST clients for the Admin API
  • @shopify/storefront-api-client - GraphQL client for the Storefront API
  • @shopify/graphql-client - Generic GraphQL client for any Shopify API
  • @shopify/api-codegen-preset - TypeScript type generation for GraphQL operations

App Building

These packages help you build complete Shopify apps with OAuth, webhooks, and more:
  • @shopify/shopify-api - Core library for OAuth, webhooks, and API access (framework-agnostic)
  • @shopify/shopify-app-express - Express.js adapter with middleware and authentication
  • @shopify/shopify-app-remix - Remix framework integration

Session Storage

Database adapters for storing app sessions:
  • PostgreSQL, MySQL, SQLite
  • MongoDB, Redis, DynamoDB
  • Prisma, Drizzle ORM
  • Cloudflare KV
  • In-memory (for development)

Community and Support

GitHub Repository

View source code, report issues, and contribute

Shopify Dev Docs

Official Shopify developer documentation

Next Steps

1

Choose Your Path

Decide whether you need simple API clients or full app infrastructure.
2

Follow the Quickstart

Get your first API request working in minutes with our quickstart guide.
3

Explore Examples

Check out real-world examples in the API client documentation and app guides.

Build docs developers (and LLMs) love