ShopifyAPI
Shopify API for Python
Decision gist · record as of 2026-08-14
Yes, with conditions. ShopifyAPI is actively maintained and production-stable for existing REST integrations, but new projects should commit to GraphQL from the start given the REST API deprecation timeline (February 2025 for public apps, April 2025 for custom apps). The high install friction is manageable for Shopify-focused work.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Shopify Partner account to create applications and obtain API credentials; REST API is legacy and will be removed by early 2025, requiring GraphQL migration.
- High install friction due to four runtime dependencies.
- Maintenance is active with recent commits and 1433 repository stars, though REST API examples are deprecated as of October 1, 2024 and will be removed by early 2025, requiring migration to GraphQL.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) allows commercial and private use with minimal restrictions, suitable for both open-source and proprietary applications.
last release 2024-11-04 (648 days) · last repo commit 2026-04-27 · 1,433 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 752,869 downloads/mo, #5,151 on PyPI
Alternatives
Verify before relying
pip install ShopifyAPI
from shopify import Session, ShopifyResource, Shop
Session.setup(api_key='YOUR_KEY', secret='YOUR_SECRET')
session = Session('shop.myshopify.com', '2024-07', access_token='TOKEN')
ShopifyResource.activate_session(session)
shop = Shop.current()- Whether pyactiveresource, PyJWT, PyYAML, and six have known vulnerabilities or maintenance issues.
- Current state of REST API removal and whether existing code will break before the stated deadline.
- Whether the experimental shopifyapp package is recommended as a replacement for new projects.
What it is and what it does
ShopifyAPI is the official Python client for Shopify's Admin API, enabling developers to programmatically interact with Shopify shops. It provides object-oriented wrappers around Shopify's REST and GraphQL endpoints, allowing you to create, read, update, and delete resources like products, orders, customers, and fulfillments. The library handles OAuth authentication for public and custom apps, as well as direct access for private apps, and includes session management to scope API calls to specific shops.
The package relies on pyactiveresource, PyJWT, PyYAML, and six as runtime dependencies. However, Shopify has deprecated the REST API as of October 1, 2024, with public apps required to migrate to GraphQL by February 2025 and custom apps by April 2025. New projects should plan for GraphQL-first development.
Use it for
- Build Shopify apps that sync product catalogs, inventory, or order data to external systems.
- Automate billing and subscription management by creating and activating application charges.
- Implement custom fulfillment workflows that retrieve orders and create fulfillments.
- Develop private apps for Shopify merchants that need direct API access without OAuth.
- Migrate existing REST-based integrations to GraphQL before the February–April 2025 deadline.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
ShopifyAPI is actively maintained and production-stable for existing REST integrations, but new projects should commit to GraphQL from the start given the REST API deprecation timeline (February 2025 for public apps, April 2025 for custom apps). The high install friction is manageable for Shopify-focused work.
Install
shopifyapi on PyPI
Before you install
High install friction due to four runtime dependencies. Maintenance is active with recent commits and 1433 repository stars, though REST API examples are deprecated as of October 1, 2024 and will be removed by early 2025, requiring migration to GraphQL.
Requires Shopify Partner account to create applications and obtain API credentials; REST API is legacy and will be removed by early 2025, requiring GraphQL migration.
License in practice
MIT License (permissive) allows commercial and private use with minimal restrictions, suitable for both open-source and proprietary applications.
Quickstart
pip install ShopifyAPI
from shopify import Session, ShopifyResource, Shop
Session.setup(api_key='YOUR_KEY', secret='YOUR_SECRET')
session = Session('shop.myshopify.com', '2024-07', access_token='TOKEN')
ShopifyResource.activate_session(session)
shop = Shop.current()
Verify before relying
- Whether pyactiveresource, PyJWT, PyYAML, and six have known vulnerabilities or maintenance issues.
- Current state of REST API removal and whether existing code will break before the stated deadline.
- Whether the experimental shopifyapp package is recommended as a replacement for new projects.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | 4 packagespyactiveresourcePyJWTPyYAMLsix |
| Maintenance | Actively maintained 648 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 752,869 / month, #5,151 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: shopifyapi-12.7.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “shopify admin api client”
- ShopifyAPIPython client library for the Shopify Admin API, supporting both REST…
- liquidpyLiquidpy is a Python port of the Liquid template engine built on…
- python-liquidPython Liquid is a template engine that renders Liquid templates—a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also google-shopping-merchant-products · python-liquid · google-shopping-type · fyers-apiv3 · razorpay · dhanhq · google-analytics-admin · fastapi-slim · pinterest-api-sdk · google-analytics-data