Shopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront API
The npm package "@shopday/storefront-api-client" is specifically designed for developers looking to seamlessly integrate Shopify's powerful e-commerce capabilities into their JavaScript applications. This lightweight client facilitates direct interaction with Shopify's Storefront API, enabling developers to create customized shopping experiences without the overhead of managing complex API calls. By utilizing this package, developers can efficiently retrieve products, manage checkouts, and handle customer data directly from Shopify's expansive ecosystem. This direct integration empowers developers to build robust, scalable, and highly personalized e-commerce solutions that leverage Shopify's proven infrastructure.
To begin using this indispensable tool, developers can simply run the command 'npm install @shopify/storefront-api-client' in their project's terminal. This command installs the necessary package to start interfacing with the Shopify Storefront API immediately. The ease of setup provided by this npm package means that developers can quickly move from installation to deployment, focusing their efforts on creating a unique user experience rather than on the intricacies of API management. With "@shopify/storefront-api-client," developers gain access to a streamlined workflow that accelerates development and reduces time to market for new features and applications.
The "@shopify/storefront-api-client" not only simplifies the development process but also offers robust support for the latest features of the Shopify platform. This includes support for Shopify’s new GraphQL-based API, which allows for more efficient data loading, reducing the bandwidth and the number of requests needed to fetch data. Developers can leverage this to create faster, more responsive applications that provide a better experience for end-users. Additionally, the package’s lightweight nature ensures that it does not bloat the application, maintaining optimal performance across all user interactions. By integrating this npm package, developers can confidently build on a solid foundation that supports both current and future Shopify features, keeping their applications competitive and cutting-edge in the fast-evolving e-commerce landscape.
[![npm version](https://img.shields.io/npm/v/@shopify/polaris-icons.svg?style=flat)](https://www...
Read moreA set of utilities, interfaces, and models that are common across all the platform...
Read moreThe JavaScript Drag & Drop library your grandparents warned you about...
Read more**[Join our team and work on libraries like this one.](https://www.shopify...
Read moreShopify GraphQL Client - A lightweight generic GraphQL JS client to interact with Shopify GraphQL...
Read moreShopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront...
Read moreThis is the Node.js wrapper of the runtime-agnostic [`@shopify/theme-check-common`](https://npm...
Read moreCore dependencies of this npm package and its dev dependencies.
undefined@babel/plugin-transform-runtime, @babel/preset-env, @changesets/cli, @cloudflare/workers-types, @jest/types, @rollup/plugin-babel, @rollup/plugin-commonjs, @rollup/plugin-eslint, @rollup/plugin-node-resolve, @rollup/plugin-replace, @rollup/plugin-terser, @rollup/plugin-typescript, @shopify/babel-preset, @shopify/eslint-plugin, @shopify/prettier-config, @shopify/typescript-configs, @types/jest, @types/supertest, eslint, eslint-plugin-jest, eslint-plugin-prettier, jest, jest-environment-jsdom, jest-fetch-mock, jest-runner-eslint, prettier, rimraf, rollup, rollup-plugin-dts, rollup-plugin-exclude-dependencies-from-bundle, supertest, ts-jest, ts-node, tslib, turbo, typescript
A README file for the @shopify/storefront-api-client code repository. View Code
This repository contains packages you can use to interact with Shopify's APIs. You can use these packages to create clients for those APIs directly, or to create apps using TypeScript / JavaScript.
It is organized as a monorepo, which includes multiple packages that can be used together.
The packages in this repository can be used to extend Shopify in different ways:
These packages make it easy to interact with Shopify's APIs if you have the required access tokens.
Package | Latest version | Description |
---|---|---|
@shopify/admin-api-client |
Client for the GraphQL and REST Admin APIs. | |
@shopify/storefront-api-client |
Client for the GraphQL Storefront API. | |
@shopify/graphql-client |
Generic GraphQL API client. | |
@shopify/api-codegen-preset |
Codegen preset for Shopify APIs. Automatically integrates with the clients above. |
These packages make it easy to create Shopify apps with TS / JS using different tech stacks.
Package | Latest version | Description |
---|---|---|
@shopify/shopify-api |
Framework and runtime agnostic library for Shopify OAuth, APIs, webhooks, and more. | |
@shopify/shopify-app-remix |
Implementation of @shopify/shopify-api to make it easy to create apps using Remix. |
|
@shopify/shopify-app-express |
Implementation of @shopify/shopify-api to make it easy to create apps using Express. |
These packages provide database-specific implementations to manage @shopify/shopify-api
sessions.
Package | Latest version | Description |
---|---|---|
@shopify/shopify-app-session-storage |
Provides the interfaces used by the app middleware packages to write custom packages. | |
@shopify/shopify-app-session-storage-drizzle |
Drizzle implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-dynamodb |
DynamoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-kv |
Cloudflare KV implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-memory |
Memory implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mongodb |
MongoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mysql |
Mysql implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-postgresql |
PostgreSQL implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-prisma |
Prisma implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-redis |
Redis implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-sqlite |
SQLite implementation of the session storage interface. |