--- title: Shopify API, libraries, and tools description: Learn about Shopify APIs, libraries, and tools, and select the right option for your use case. api_name: index source_url: html: https://shopify.dev/docs/api/index md: https://shopify.dev/docs/api/index.md --- ExpandOn this page * [Build apps](https://shopify.dev/docs/api/index#build-apps) * [Build custom storefronts](https://shopify.dev/docs/api/index#build-custom-storefronts) * [Build themes](https://shopify.dev/docs/api/index#build-themes) * [API exploration](https://shopify.dev/docs/api/index#api-exploration) * [AI-powered API assistance](https://shopify.dev/docs/api/index#ai-powered-api-assistance) * [API libraries](https://shopify.dev/docs/api/index#api-libraries) * [App templates](https://shopify.dev/docs/api/index#app-templates) * [Sample apps](https://shopify.dev/docs/api/index#sample-apps) # Shopify API, libraries, and tools Explore Shopify’s API reference and templating documentation. Shopify provides a range of software tools, app templates, example apps, and libraries to accelerate your development process. Check out your options to see which one is right for you. *** ## Build apps Extend Shopify’s core functionality by building apps that integrate into Shopify’s admin, online store, checkout and more. [![](https://shopify.dev/images/icons/48/graphql.png)![](https://shopify.dev/images/icons/48/graphql-dark.png)](https://shopify.dev/docs/api/admin-graphql) [GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql) [The GraphQL API lets you build apps and integrations that extend and enhance the Shopify admin. It provides data on products, customers, orders, inventory, fulfillment, and more.](https://shopify.dev/docs/api/admin-graphql) [![](https://shopify.dev/images/icons/48/apps.png)![](https://shopify.dev/images/icons/48/apps-dark.png)](https://shopify.dev/docs/api/partner) [Partner API](https://shopify.dev/docs/api/partner) [Scale your business with the Partner API. When you use the Partner API, you can access the data found in your Partner Dashboard to automate front and back-office operations.](https://shopify.dev/docs/api/partner) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://shopify.dev/docs/api/app-bridge) [App Bridge](https://shopify.dev/docs/api/app-bridge) [Use App Bridge to build embedded apps integrated with the Shopify admin.](https://shopify.dev/docs/api/app-bridge) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://shopify.dev/docs/api/shopify-app-react-router) [React Router app package](https://shopify.dev/docs/api/shopify-app-react-router) [Shopify’s official package for building apps with React Router >= v7. Our recommended approach.](https://shopify.dev/docs/api/shopify-app-react-router) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://shopify.dev/docs/api/shopify-app-remix) [Remix app package](https://shopify.dev/docs/api/shopify-app-remix) [Build your app's web experiences with Remix, integrate with Shopify APIs, and embed into the Shopify admin.](https://shopify.dev/docs/api/shopify-app-remix) [![](https://shopify.dev/images/icons/48/ruby.png)![](https://shopify.dev/images/icons/48/ruby-dark.png)](https://shopify.dev/docs/api/payments-apps) [Payments Apps API](https://shopify.dev/docs/api/payments-apps) [Use the Payments Apps API to manage user account data including payments, refunds, and more.](https://shopify.dev/docs/api/payments-apps) [![](https://shopify.dev/images/icons/48/clicode.png)![](https://shopify.dev/images/icons/48/clicode-dark.png)](https://shopify.dev/docs/api/functions) [Shopify Function APIs](https://shopify.dev/docs/api/functions) [Use Shopify Function APIs to customize the backend logic that powers parts of Shopify.](https://shopify.dev/docs/api/functions) [![](https://shopify.dev/images/icons/48/webhooks.png)![](https://shopify.dev/images/icons/48/webhooks-dark.png)](https://shopify.dev/docs/api/webhooks) [Webhooks](https://shopify.dev/docs/api/webhooks) [Use webhooks to keep apps in sync with Shopify data or to perform an action after a specific event occurs in a shop. Webhooks are a performant alternative to continuously polling APIs.](https://shopify.dev/docs/api/webhooks) ### Component libraries, references, and app extensions Explore the available component libraries and references for building apps. Seamlessly add your app’s functionality to Shopify user interfaces using app extensions. [![](https://shopify.dev/images/icons/48/pickaxe-2.png)![](https://shopify.dev/images/icons/48/pickaxe-2-dark.png)](https://shopify.dev/docs/api/shopifyql) [ShopifyQL](https://shopify.dev/docs/api/shopifyql) [Use ShopifyQL to write analytical queries and find insights in user store data.](https://shopify.dev/docs/api/shopifyql) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://shopify.dev/docs/api/admin-extensions) [Admin UI extensions](https://shopify.dev/docs/api/admin-extensions) [Use Admin UI extensions to create a deeper integration into the Shopify admin.](https://shopify.dev/docs/api/admin-extensions) [![](https://shopify.dev/images/icons/48/growth.png)![](https://shopify.dev/images/icons/48/growth-dark.png)](https://shopify.dev/docs/api/product-subscription-extensions) [Product subscription app extensions](https://shopify.dev/docs/api/product-subscription-extensions) [Use Product subscriptions extensions to help merchants manage selling plans in the Shopify admin.](https://shopify.dev/docs/api/product-subscription-extensions) [![](https://shopify.dev/images/icons/48/custom-storefronts.png)![](https://shopify.dev/images/icons/48/custom-storefronts-dark.png)](https://shopify.dev/docs/api/checkout-extensions) [Checkout app extensions](https://shopify.dev/docs/api/checkout-extensions) [Use checkout app extensions to extend your app code into checkout and customize many aspects of the checkout experience.](https://shopify.dev/docs/api/checkout-extensions) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://shopify.dev/docs/api/pos-extensions) [Shopify POS app extensions](https://shopify.dev/docs/api/pos-extensions) [Use Shopify POS app extensions to build custom POS UI extensions, loyalty programs and discounts in Point of Sale shopping carts, as well as product recommendations.](https://shopify.dev/docs/api/pos-extensions) [![](https://shopify.dev/images/icons/48/hearts.png)![](https://shopify.dev/images/icons/48/hearts-dark.png)](https://shopify.dev/docs/api/pixels) [Web pixel app extensions](https://shopify.dev/docs/api/pixels) [Use web pixel app extensions to collect behavioral data for marketing campaign optimization and analytics.](https://shopify.dev/docs/api/pixels) [![](https://shopify.dev/images/icons/48/heart.png)![](https://shopify.dev/images/icons/48/heart-dark.png)](https://shopify.dev/docs/api/marketing-activities) [Marketing activities app extensions](https://shopify.dev/docs/api/marketing-activities) [Use marketing activities app extensions to enable users to manage promotional campaigns and marketing automations from the Marketing page in the Shopify admin.](https://shopify.dev/docs/api/marketing-activities) *** ## Build custom storefronts Build commerce experiences and branded custom storefronts using the Storefront API and Hydrogen. [![](https://shopify.dev/images/icons/48/graphql.png)![](https://shopify.dev/images/icons/48/graphql-dark.png)](https://shopify.dev/docs/api/storefront) [Storefront API](https://shopify.dev/docs/api/storefront) [Build custom shopping experiences for any platform. Render product and inventory details and initiate checkouts from any surface, such as web, mobile, gaming, and more.](https://shopify.dev/docs/api/storefront) [![](https://shopify.dev/images/icons/48/graphql.png)![](https://shopify.dev/images/icons/48/graphql-dark.png)](https://shopify.dev/docs/api/customer) [Customer Account API](https://shopify.dev/docs/api/customer) [Securely manage and personalize customer data such as orders, payments, discounts, refunds, and more, with a single sign-on experience across multiple surfaces.](https://shopify.dev/docs/api/customer) [![](https://shopify.dev/images/icons/48/hydrogen.png)![](https://shopify.dev/images/icons/48/hydrogen-dark.png)](https://shopify.dev/docs/api/hydrogen) [Hydrogen and Oxygen](https://shopify.dev/docs/api/hydrogen) [Use Shopify’s recommended full-stack solution for building headless commerce experiences, with off-the-shelf components, hooks, utilities, and hosting built in.](https://shopify.dev/docs/api/hydrogen) [![](https://shopify.dev/images/icons/48/blocks.png)![](https://shopify.dev/images/icons/48/blocks-dark.png)](https://shopify.dev/docs/api/hydrogen-react) [Hydrogen React](https://shopify.dev/docs/api/hydrogen-react) [Explore an unopinionated and performant library of Shopify-specific React components, reusable functions, and utilities for interacting with the Storefront API.](https://shopify.dev/docs/api/hydrogen-react) [![](https://shopify.dev/images/icons/48/blocks.png)![](https://shopify.dev/images/icons/48/blocks-dark.png)](https://shopify.dev/docs/api/storefront-web-components) [Storefront Web Components](https://shopify.dev/docs/api/storefront-web-components) [Storefront Web Components bring Shopify-powered commerce capabilities to any website. Display products, showcase collections, and offer a checkout, all with a few lines of embedded HTML.](https://shopify.dev/docs/api/storefront-web-components) *** ## Build themes Help users express their unique brand in their storefront by building a custom theme. [![](https://shopify.dev/images/icons/48/themes.png)![](https://shopify.dev/images/icons/48/themes-dark.png)](https://shopify.dev/docs/api/liquid) [Liquid](https://shopify.dev/docs/api/liquid) [Use Liquid to build or customize Shopify themes using the Liquid template language.](https://shopify.dev/docs/api/liquid) [![](https://shopify.dev/images/icons/48/pickaxe-3.png)![](https://shopify.dev/images/icons/48/pickaxe-3-dark.png)](https://shopify.dev/docs/api/ajax) [Ajax API](https://shopify.dev/docs/api/ajax) [Use the Ajax API to add dynamic elements to Shopify online stores with a lightweight JSON API for product data, recommendations, and shopping cart management.](https://shopify.dev/docs/api/ajax) [![](https://shopify.dev/images/icons/48/pickaxe-2.png)![](https://shopify.dev/images/icons/48/pickaxe-2-dark.png)](https://shopify.dev/docs/api/ajax/section-rendering) [Section Rendering API](https://shopify.dev/docs/api/ajax/section-rendering) [Use the Section Rendering API to update page content by fetching only partial elements of a page instead of reloading it entirely.](https://shopify.dev/docs/api/ajax/section-rendering) [![](https://shopify.dev/images/icons/48/star.png)![](https://shopify.dev/images/icons/48/star-dark.png)](https://shopify.dev/docs/api/customer-privacy) [Customer Privacy API](https://shopify.dev/docs/api/customer-privacy) [Use the Customer Privacy API to integrate buyer consent and opt-outs.](https://shopify.dev/docs/api/customer-privacy) *** ## API exploration Start exploring Shopify's GraphQL Admin and Storefront APIs on a demo shop. [![](https://shopify.dev/images/icons/48/graphql.png)![](https://shopify.dev/images/icons/48/graphql-dark.png)](https://shopify.dev/docs/api/usage/api-exploration/admin-graphiql-explorer) [Admin API GraphiQL explorer](https://shopify.dev/docs/api/usage/api-exploration/admin-graphiql-explorer) [Use the interactive GraphiQL explorer for the Admin API.](https://shopify.dev/docs/api/usage/api-exploration/admin-graphiql-explorer) [![](https://shopify.dev/images/icons/48/custom-storefronts.png)![](https://shopify.dev/images/icons/48/custom-storefronts-dark.png)](https://shopify.dev/docs/api/usage/api-exploration/storefront-graphiql-explorer) [Storefront API GraphiQL explorer](https://shopify.dev/docs/api/usage/api-exploration/storefront-graphiql-explorer) [Use the interactive GraphiQL explorer for the Storefront API.](https://shopify.dev/docs/api/usage/api-exploration/storefront-graphiql-explorer) *** ## AI-powered API assistance Use AI tools to accelerate your API development workflow, with features like GraphQL generation, REST conversion, and contextual chat assistance. Trained on Shopify data for high accuracy. [![](https://shopify.dev/images/icons/48/mcp.png)![](https://shopify.dev/images/icons/48/mcp-dark.png)](https://shopify.dev/docs/apps/build/storefront-mcp) [Storefront MCP](https://shopify.dev/docs/apps/build/storefront-mcp) [Connect any AI assistant to real-time commerce data from Shopify stores with the Model Context Protocol (MCP) servers. Help customers search, ask, and buy in natural language.](https://shopify.dev/docs/apps/build/storefront-mcp) [![](https://shopify.dev/images/icons/48/scintillating.png)![](https://shopify.dev/images/icons/48/scintillating-dark.png)](https://shopify.dev/docs/api?assistant=1) [.dev Assistant](https://shopify.dev/docs/api?assistant=1) [Generate GraphQL operations, convert REST requests to GraphQL operations, and get interactive help with Shopify's AI-powered assistant.](https://shopify.dev/docs/api?assistant=1) [![](https://shopify.dev/images/icons/48/mcp.png)![](https://shopify.dev/images/icons/48/mcp-dark.png)](https://shopify.dev/docs/apps/build/devmcp) [Shopify dev MCP](https://shopify.dev/docs/apps/build/devmcp) [Transform your Shopify development workflow with AI-assisted tools that help you build with Shopify. The MCP server integration brings intelligent automation to your favorite development environments, such as Cursor and Windsurf.](https://shopify.dev/docs/apps/build/devmcp) *** ## API libraries Shopify provides several official libraries for interacting with the [GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql). Members of the Shopify developer community have created similar libraries covering other languages and technology stacks. ### Official Shopify Admin API libraries [![](https://shopify.dev/images/icons/48/ruby_api.png)![](https://shopify.dev/images/icons/48/ruby_api-dark.png)](https://github.com/Shopify/shopify-api-ruby) [Shopify/shopify-api-ruby](https://github.com/Shopify/shopify-api-ruby) [Shopify’s official Ruby gem for interacting with the Admin API](https://github.com/Shopify/shopify-api-ruby) [![](https://shopify.dev/images/icons/48/ruby_api.png)![](https://shopify.dev/images/icons/48/ruby_api-dark.png)](https://github.com/Shopify/shopify_app) [Shopify/shopify\_app](https://github.com/Shopify/shopify_app) [A Rails engine for building Shopify Apps](https://github.com/Shopify/shopify_app) [![](https://shopify.dev/images/icons/48/node_api.png)![](https://shopify.dev/images/icons/48/node_api-dark.png)](https://github.com/Shopify/shopify-app-js/tree/main/packages/apps/shopify-api) [Shopify/shopify-api](https://github.com/Shopify/shopify-app-js/tree/main/packages/apps/shopify-api) [Shopify’s official Node library for interacting with the Storefront and Admin APIs, handling OAuth, webhooks, and billing](https://github.com/Shopify/shopify-app-js/tree/main/packages/apps/shopify-api) [![](https://shopify.dev/images/icons/48/node_api.png)![](https://shopify.dev/images/icons/48/node_api-dark.png)](https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/admin-api-client) [Shopify/admin-api-client](https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/admin-api-client) [Shopify’s official lightweight Node library for interacting with the Admin API](https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/admin-api-client) ### Third-party Admin API libraries Tip These libraries are created and maintained by members of the Shopify community. They aren’t official Shopify API libraries. #### Node [![](https://shopify.dev/images/icons/48/node_api.png)![](https://shopify.dev/images/icons/48/node_api-dark.png)](https://github.com/MONEI/Shopify-api-node) [Shopify-api-node](https://github.com/MONEI/Shopify-api-node) [Node Shopify connector](https://github.com/MONEI/Shopify-api-node) [![](https://shopify.dev/images/icons/48/node_api.png)![](https://shopify.dev/images/icons/48/node_api-dark.png)](https://github.com/christophergregory/shopify-node-api) [shopify-node-api](https://github.com/christophergregory/shopify-node-api) [OAuth2 Module for Shopify API](https://github.com/christophergregory/shopify-node-api) #### PHP [![](https://shopify.dev/images/icons/48/php_api.png)![](https://shopify.dev/images/icons/48/php_api-dark.png)](https://github.com/phpclassic/php-shopify) [php-shopify](https://github.com/phpclassic/php-shopify) [PHP SDK for Shopify API](https://github.com/phpclassic/php-shopify) [![](https://shopify.dev/images/icons/48/php_api.png)![](https://shopify.dev/images/icons/48/php_api-dark.png)](https://github.com/robwittman/shopify-php-sdk) [shopify-php-sdk](https://github.com/robwittman/shopify-php-sdk) [PHP SDK for development with the Shopify API](https://github.com/robwittman/shopify-php-sdk) [![](https://shopify.dev/images/icons/48/php_api.png)![](https://shopify.dev/images/icons/48/php_api-dark.png)](https://github.com/gnikyt/Basic-Shopify-API) [Basic-Shopify-API](https://github.com/gnikyt/Basic-Shopify-API) [A simple, tested, API wrapper for Shopify using Guzzle for GraphQL](https://github.com/gnikyt/Basic-Shopify-API) #### Go [![](https://shopify.dev/images/icons/48/go.png)![](https://shopify.dev/images/icons/48/go-dark.png)](https://github.com/bold-commerce/go-shopify) [go-shopify](https://github.com/bold-commerce/go-shopify) [A Go library that helps developers easily authenticate with and manage Shopify stores.](https://github.com/bold-commerce/go-shopify) #### .​NET [![](https://shopify.dev/images/icons/48/dotnet.png)![](https://shopify.dev/images/icons/48/dotnet-dark.png)](https://github.com/nozzlegear/ShopifySharp) [ShopifySharp](https://github.com/nozzlegear/ShopifySharp) [A .NET core library that helps developers easily authenticate with and manage Shopify stores.](https://github.com/nozzlegear/ShopifySharp) *** ## App templates The following templates can help you start your Shopify app development. When you scaffold an app using [Shopify CLI](https://shopify.dev/docs/apps/build/cli-for-apps), you can specify the template that you want to use with the `--flavor` flag. Enter `remix`, `node`, or `ruby` to use one of our app templates, or use a third-party template by providing a path to a GitHub repository for the template. Shopify recommends using the Remix template for most apps. You can also build an extension-only app, which is an app that contains no [app home](https://shopify.dev/docs/apps/build/admin), and uses the extension-only template. To create an extension-only app, select **Build an extension-only app** when you create your app. [Learn more about extension-only apps](https://shopify.dev/docs/apps/build/app-extensions/build-extension-only-app). To learn more about building using the template, and deploying apps built using the template, review the readme in the template repository. [![](https://shopify.dev/images/icons/48/remix.png)![](https://shopify.dev/images/icons/48/remix-dark.png)](https://github.com/Shopify/shopify-app-template-remix) [Remix app template](https://github.com/Shopify/shopify-app-template-remix) [An app template that uses Remix.](https://github.com/Shopify/shopify-app-template-remix) [![](https://shopify.dev/images/icons/48/app.png)![](https://shopify.dev/images/icons/48/app-dark.png)](https://github.com/Shopify/shopify-app-template-none) [Extension-only app template](https://github.com/Shopify/shopify-app-template-none) [An app template for building extension-only apps.](https://github.com/Shopify/shopify-app-template-none) [![](https://shopify.dev/images/icons/48/express.png)![](https://shopify.dev/images/icons/48/express-dark.png)](https://github.com/Shopify/shopify-app-template-node) [Express app template](https://github.com/Shopify/shopify-app-template-node) [An app template that uses Express, Node.js, and React.](https://github.com/Shopify/shopify-app-template-node) [![](https://shopify.dev/images/icons/48/ruby_api.png)![](https://shopify.dev/images/icons/48/ruby_api-dark.png)](https://github.com/Shopify/shopify-app-template-ruby) [Ruby app template](https://github.com/Shopify/shopify-app-template-ruby) [An app template in Ruby and React.](https://github.com/Shopify/shopify-app-template-ruby) [![](https://shopify.dev/images/icons/48/php_api.png)![](https://shopify.dev/images/icons/48/php_api-dark.png)](https://github.com/Shopify/shopify-app-template-php) [PHP app template](https://github.com/Shopify/shopify-app-template-php) [An app template in PHP.](https://github.com/Shopify/shopify-app-template-php) *** ## Sample apps The following examples can help you with your app. * **[Shopify QR Code app](https://github.com/Shopify/shopify-app-examples/tree/main/qr-code/node)**: An example app based on the Node app template. The app, inspired by [Shopcodes](https://apps.shopify.com/shopcodes), implements basic QR code generation for products and discounts. * **[Storefront API apps](https://github.com/Shopify/storefront-api-examples)**: A series of example apps that demonstrate how to use the Storefront API. The examples are built and maintained by community members. *** * [Build apps](https://shopify.dev/docs/api/index#build-apps) * [Build custom storefronts](https://shopify.dev/docs/api/index#build-custom-storefronts) * [Build themes](https://shopify.dev/docs/api/index#build-themes) * [API exploration](https://shopify.dev/docs/api/index#api-exploration) * [AI-powered API assistance](https://shopify.dev/docs/api/index#ai-powered-api-assistance) * [API libraries](https://shopify.dev/docs/api/index#api-libraries) * [App templates](https://shopify.dev/docs/api/index#app-templates) * [Sample apps](https://shopify.dev/docs/api/index#sample-apps)