Start a project

Let’s build something that works

The first conversation is free, you’ll leave with clarity, not a sales pitch.

or email hello@zentury.studio

We’ll only use your details to reply to you. See our Privacy Policy.

HomeInsightsTechnology

Shopify App Development Guide: Build, Launch and Maintain

A practical guide to building a Shopify app: custom vs public apps, admin and storefront extensions, APIs, webhooks, authentication, app review, testing, billing and upkeep.

Zentury team10 min read
Developer building a Shopify app with admin extensions and API connections

Building a Shopify app means choosing the right app type, connecting to Shopify’s APIs through secure authentication, and extending the admin or storefront with supported surfaces. Most of the real work sits in permissions, webhooks, testing, billing and long-term maintenance, not in the first working prototype. This guide walks through each stage so you can scope an app realistically before writing code.

What a Shopify app actually is

A Shopify app is a separate piece of software that talks to a store through Shopify’s APIs and, where needed, appears inside the Shopify admin or on the storefront. Your app runs on your own infrastructure. Shopify provides the identity, permissions, data access and extension points that let it plug into a merchant’s store.

This is different from editing a theme or changing store settings. A theme controls how pages look. An app adds behavior and data handling that the platform does not provide out of the box, such as syncing orders to an external system, adding custom fulfillment rules, or giving staff a new admin screen.

If you are still deciding whether you need an app at all, read our guide to Shopify custom development. This article assumes you have decided to build one.

Custom app or public app?

The first decision shapes everything after it. A custom app is built for one merchant (or one organization’s stores). A public app is built to be installed by many merchants, usually through the Shopify App Store.

Custom (private) apps

A custom app serves a single business. It does not need to go through the public listing process, and its feature set can match one team’s workflow exactly. Typical examples include an internal integration with an ERP, a warehouse tool, or an admin utility for a support team.

Shopify’s terminology and creation flow for custom apps has changed over time, so check Shopify’s current documentation for how custom apps are created and distributed today.

Public apps

A public app must work for merchants you have never met. That raises the bar in several ways: installation must be self-serve, permissions must be justified, data handling must respect privacy requirements, and the app must behave well across stores with different themes, catalogs, markets and plans.

How to choose

One business installing it points to a custom app. Many unrelated merchants, or a plan to list and sell it, point to a public app. A narrow, company-specific workflow rarely justifies the extra effort of a public app.

Starting custom and generalizing later is possible, but multi-tenant data storage, per-store configuration and onboarding flows are much easier to design in from the beginning than to retrofit.

What Shopify apps can do

Apps can do far more than add a widget. The useful way to think about capabilities is by where they act.

  • Read and write store data. Products, inventory, orders, customers, discounts, metafields and more, depending on the scopes the merchant approves.
  • React to events. Webhooks notify your app when something happens in the store, so you do not have to poll constantly.
  • Extend the admin. Add embedded pages, actions on resource screens, and blocks inside existing admin views.
  • Extend the storefront and checkout. Add theme app blocks, custom checkout elements, and logic that changes how discounts, shipping options or payment choices behave.
  • Run background work. Bulk imports, scheduled syncs, report generation and cleanup jobs.
  • Connect outside systems. Link Shopify to accounting, shipping, CRM, marketing and warehouse software.

Which of these are available to you depends on the store’s plan, the APIs involved and the current platform rules, so confirm specifics in Shopify’s current documentation before committing to a feature in a project plan.

The technical building blocks

The tooling and project structure

Shopify provides a command line tool and app templates that scaffold a working project, handle local development against a development store, and manage configuration and extension deployment. The usual template is a web application with a server component for authentication and API calls, plus a frontend that renders inside the admin.

You choose your own hosting, database and background job tooling. Check Shopify’s current documentation for the recommended template and workflow, because these are updated regularly.

If your app grows into a larger product with its own dashboards and accounts, you are effectively building a web application that integrates with Shopify. Our web app development work follows the same architecture and security principles.

Admin extensions and embedded UI

Merchants expect an app to feel like part of Shopify. Embedded apps load inside the admin and use Shopify’s design system and App Bridge so navigation, toasts, modals and authentication feel native.

Admin extensions go further. They let your app add actions or blocks directly on existing admin pages, such as an order detail screen, so staff do not have to leave their normal workflow. This is often the better choice for small, contextual features, while a full embedded page suits dashboards, settings and heavy workflows.

Storefront and checkout extensions

For customer-facing features, the supported route is usually extensions rather than editing a merchant’s theme code. Theme app extensions let merchants add and position your app’s blocks through the theme editor, and they can be removed cleanly when the app is uninstalled. That avoids leaving stray code behind.

Checkout customizations are more restricted, have changed over the years and can depend on the store’s plan. Verify what is currently supported before promising a checkout behavior.

APIs: GraphQL, REST and what to prefer

Shopify exposes several APIs. The Admin API is the main interface for managing store data, and the Storefront API supports custom shopping experiences. Shopify has been steering developers toward its GraphQL APIs, and some older REST endpoints are labeled as legacy. Check Shopify’s current documentation to see which one to use for each resource.

Practical habits matter more than the choice:

  • Request only the fields you need.
  • Pin to a specific, supported API version and plan time to upgrade, since versions are retired on a schedule.
  • Handle rate limits and throttling responses with retries and backoff.
  • Use bulk operations for large exports and imports instead of looping through pages.

For broader guidance on designing and securing integrations of this kind, see our API development and integration guide.

Webhooks

Webhooks are how your app learns about changes without constantly asking. Typical subscriptions cover orders, products, customers, app uninstalls and compliance topics.

Reliable webhook handling follows a few rules:

  • Verify the signature on every request before trusting the payload.
  • Respond quickly, then do the heavy work in a background job.
  • Make handlers idempotent, because the same event can arrive more than once.
  • Do not assume ordering, and reconcile periodically, since delivery is never guaranteed.

Treat the uninstall webhook and any privacy or data request webhooks as required parts of the app, not optional extras. Check Shopify’s current documentation for the exact mandatory topics.

Authentication and permissions

Apps authenticate through Shopify’s supported flows and receive access tokens tied to a merchant’s store and the scopes they approved. Embedded apps typically use session tokens issued through App Bridge, and server-side API calls use access tokens obtained through the supported token exchange or OAuth process. The details of these flows have evolved, so follow the current documentation instead of older tutorials.

Permissions deserve more care than they usually get. Follow these principles:

  • Request the minimum scopes. Ask only for access your features truly use. Broad scopes make merchants hesitant and can draw questions during review.
  • Store tokens securely. Encrypt them at rest, keep them out of logs and never expose them to the browser.
  • Handle scope changes. If a feature needs more access, build a clear re-authorization path for existing installs.
  • Respect protected customer data. Personal customer information can carry additional requirements. Check Shopify’s current documentation.

Also plan for revocation. After an uninstall, delete or anonymize stored data according to your privacy commitments and Shopify’s rules.

App review and listing

Custom apps generally skip the public listing process, but public apps go through a review before they can appear in the Shopify App Store. Reviewers look at how the app installs, how it requests permissions, whether it performs as described, how it handles data and how it presents itself.

To prepare, work through these points:

  • Make installation work from a clean store with no manual setup from you.
  • Use supported authentication, and never ask merchants to paste in secrets.
  • Make sure uninstall and data deletion paths work.
  • Write an accurate listing with honest screenshots and support contact details.
  • Test storefront performance impact if you add scripts or blocks.

Requirements change, and reviewers can request revisions. Read the current App Store requirements before you build, not after.

Testing a Shopify app

Test on development stores, which let you install the app, create sample data and try plan-specific behavior without touching a live merchant. A solid test plan covers:

  • Install and uninstall. Fresh installs, reinstalls and scope upgrades.
  • Webhooks. Duplicate, delayed and malformed deliveries.
  • Large stores. Pagination, bulk operations and rate limits with a realistic catalog.
  • Edge cases. Many variants, refunds, multiple currencies and locations.
  • Theme compatibility. Theme app blocks across several themes.
  • Failure behavior. What happens when Shopify’s API or your server is unavailable.

Automated tests for business logic and API wrappers pay off quickly, because Shopify’s APIs evolve and regressions are easy to introduce during version upgrades.

Billing and monetization

Public apps that charge merchants generally use Shopify’s Billing API so that charges appear on the merchant’s Shopify invoice. The models available include recurring subscriptions, usage-based charges and one-time purchases. Check Shopify’s current documentation for supported options, charging rules, and fee or revenue sharing terms.

From an engineering view, billing involves more than creating a charge:

  • Gate features by plan and check subscription status server-side.
  • Handle declined, cancelled and pending charges gracefully.

Custom apps built for a single client are usually paid for outside Shopify’s billing system, through a development contract, so none of this applies.

Hosting, maintenance and long-term ownership

A Shopify app is not finished at launch. Platform changes arrive continually, and an unmaintained app eventually breaks or gets flagged.

Plan for ongoing work in these areas:

  • API version upgrades. Schedule regular reviews of deprecations and retired versions.
  • Monitoring. Track errors, webhook failures and job queues, and alert someone who can act.
  • Security and data hygiene. Patch dependencies and remove data for uninstalled stores.
  • Support and documentation. Decide who answers merchant questions, and keep runbooks current.

Budget for this from the start. If you are weighing an app against another approach, our comparison of Shopify and custom ecommerce development covers the tradeoffs.

Where to start

Build the authentication and installation flow first, since everything else depends on it, then add core features, extensions, testing and billing. If you want help scoping or building an app, our Shopify development services team can review your requirements, or you can contact us with a short description of what the app should do.

Frequently asked questions

01What is the difference between a custom app and a public app?

A custom app is built for one merchant or organization and is not listed for general installation. A public app is built for many merchants and typically goes through the App Store review process. Check Shopify's current documentation for how each type is created and distributed.

02Which programming languages can I use to build a Shopify app?

Shopify's templates favor JavaScript and TypeScript, and the app talks to Shopify over HTTP APIs, so many server languages work. Check Shopify's current documentation for supported templates and libraries.

03Do I need to use GraphQL or REST?

Shopify currently emphasizes GraphQL for the Admin API, and some REST endpoints are considered legacy. Check Shopify's current documentation before designing your data layer.

04How do webhooks differ from API calls?

An API call is your app asking Shopify for data or sending a change. A webhook is Shopify notifying your app that something happened. Most apps use both.

05Does every Shopify app need to pass an app review?

Public apps listed on the Shopify App Store go through review. Custom apps built for one merchant generally do not. Confirm the current rules before planning your timeline.

06How do Shopify apps handle billing?

Public apps usually charge through Shopify's Billing API. Custom client projects are typically paid through a separate agreement. Check Shopify's current documentation for supported models.

07What ongoing maintenance does an app need?

Plan for API version upgrades, security updates, monitoring, data cleanup after uninstalls and merchant support.

Work with us

Have a project in mind? Let’s talk it through.

Tell us what you’re building. The first conversation is free, and you’ll leave with a clear next step.

Start your project

Keep reading

All insights

09 · Get in touch

Let’s build

Let’s Build Something That Works

Have an idea you’re ready to move on? A problem your current technology isn’t solving? Our team is based in Austin, Texas, and works with businesses all over the world. Reach out: the first conversation is free, and you’ll leave with clarity, not a sales pitch.

Email us
Studio
5900 Balcones Drive STE 100, Austin, Texas 78731

Tell us about your project

We’ll only use your details to reply to you. See our Privacy Policy.