Dev stores
Dev stores are testing environments that you own and control. They let you build and test your apps in a realistic Shopify environment without affecting any live store. You can connect directly to a dev store from Shopify CLI using the shopify app dev command, which previews your changes without deploying a new version to production.
Anchor to RequirementsRequirements
Before you begin, make sure you have:
- A Shopify Partner account or a merchant store with developer permissions.
- The required permissions to create dev stores in your organization.
Anchor to Create a dev storeCreate a dev store
You can create a dev store with Shopify CLI or in the Dev Dashboard.
Anchor to Use Shopify CLIUse Shopify CLI
The Shopify CLI store create dev command creates new dev stores in your organization.
The command will prompt you for required values, or you can configure the store via flags:
| Flag | Description |
|---|---|
--name | The name for the store. This name is used to identify the store and create the store's myshopify.com URL. |
--plan | The Shopify plan to use: basic, grow, advanced, or plus. |
--demo-data | Populates the store with demo data so you're not testing against an empty store. |
--feature-preview | The handle of a feature preview to enable on the store. |
--country | The store's two-letter ISO country code, such as US, CA, or GB. |
For example, the following command creates a Plus plan store in Canada, populated with demo data:
Terminal
Anchor to Use the Dev DashboardUse the Dev Dashboard
- Log in to the Dev Dashboard.
- Select Stores from the left sidebar.
- Select Create store.
- Select Dev as the store type.
- Enter a name for your dev store. This name is used to identify the store in the Dev Dashboard.
- Select a plan for your dev store:
- Basic: Includes core Shopify features for small businesses.
- Grow: Includes additional reporting and staff accounts for growing businesses.
- Advanced: Includes advanced reporting, lower transaction fees, and third-party calculated shipping rates.
- Plus: Includes enterprise-level features like Shopify Flow, LaunchPad, and dedicated support.
- Optional: Select Test a feature preview to test capabilities that aren't available to all stores yet.
- Select Create store. Your store is created with the selected plan.
- Log in to your dev store.
Anchor to Store accessStore access
When you create a dev store, you're automatically designated as the store's owner. Shopify CLI and Dev Dashboard display dev stores that you have access to.
Additional users must be added to the store as staff members.
When a feature preview is enabled on a dev store, you don't have access to domains.
Anchor to Clean up dev storesClean up dev stores
Organizations are limited to 250 dev stores. You can use Shopify CLI to list dev stores in your organization, and delete stores you no longer need.
-
List the stores in your organization using the
shopify store listcommand:Terminal
shopify store list -
To delete a store, pass its
myshopify.comdomain to theshopify store deletecommand:Terminal
shopify store delete --store my-dev-store.myshopify.com
Anchor to Example: Delete stores older than two yearsExample: Delete stores older than two years
By using the --json flag with shopify store list, you can filter and script the command output. Each entry includes store, type, and createdAt, so the following deletes every dev store created more than two years ago:
Terminal
In this example:
- The filter keeps only stores whose
typeisdev, so nothing else in the organization can be selected. createdAtis when the store was created, not when it was last opened.
Deleting a dev store is permanent. The store and its data are purged, and can't be restored.
Deleting a dev store is permanent. The store and its data are purged, and can't be restored.
Anchor to LimitationsLimitations
Dev stores are intended for development and testing only. They can't be used for production and can't process real transactions:
- For apps that use App Pricing, you can select any available plan for an app that belongs to your Partner organization at no charge. For apps from another Partner organization, you can select free plans or any plan the Partner has marked as free to test.
- For an app that uses manual pricing, use a Billing API test charge to test your own app. To make the app available on other Partners' dev stores, set up free testing.
- You can test orders using the Bogus test gateway or by activating test mode for your payment provider. Real transactions through active payment providers, Store Credit, and Gift Cards aren't supported.
- You can't remove the password page or show a custom password page. You can still customize and preview it.
- Dev stores can't be converted to production stores.
- Dev stores can't be transferred to a client. If you're building a store for a merchant, use a client transfer store instead.
Anchor to Next stepsNext steps
- Build an app using your dev store as a testing environment.
- Test apps locally with Shopify CLI and your dev store.
- Create a client transfer store to build a store for a merchant.