- 📖 Big Cartel • Easy Online Stores for Artists and Makers. Used by g Heavy Industries](https://www.gboards.ca/).
- 📖 Big Cartel API
- 📖 Gumroad • Used by Tailwind UI and a number of coders who sell small books and video courses.
- 📖 How I made $210,822 selling a pdf and a video on the internet • Article by Daniel Vassalo.
- 📺 Understanding the Shopify API • 8 minute video by Coding with Jan briefly summarizing what you can do with the Admin and Storefront APIs.
Creating a free development store
This is how to create a free store you can play with for as long as you like.
- Create a free Shopify Partner
- Log in
- Click "Create new partner account"
- Fill in the form and click "View your dashboard"
- Confirm your email address
- Click "Create store" on main dashboard or "Stores" > "Add store"
- Select "Development store"
- Fill in the form (any email/password combo is okay) and click "Save"
- 📖 Creating development stores • How to create Shopify stores that are free for an unlimited time in development mode.
Adding sample product data to a store
If all you need is some dummy data, this is the fastest way to get it.
- In your store, click "Apps" in the sidebar
- Click "Visit the Shopify App Store"
- Search for "simple sample data"
- Click on the result called "Simple Sample Data"
- Although it says it costs $0.99, since we're building a development store, it will actually be free when we add it
- Click "Add app"
- Click "Install app"
- On the Simple Sample Data app page, select a theme and which types of sample data to add (note that if you include "Orders", you'll receive an email notification about each order, but don't worry! They aren't real orders and it doesn't mean your shop is public. In the next step, we're going to remove the online store completely).
- Click "Generate Data" (top right)
- Click "Yes, generate dummy data!"
- Wait several minutes while the data generates ☕️
- 📺 How To Add Sample Data For Your Shopify Store: Products, Orders, Customers • 5 minute video by CodingPhase showing how to populate a Shopify store with sample products.
Remove Online Store
These pages aren't needed when using Shopify as a headless API.
- In your store, go to "Settings" (bottom of sidebar)
- Go to "Sales channels"
- Remove the Online Store
Generating Shopify API credentials
This will allow you to query your store data from your site.
- In your store, go to "Apps"
- Scroll to the bottom and click "Manage private apps"
- Click "Enable private app development"
- Select all three checkboxes and click "Enable private app development"
- Click "Create private app"
- Enter any name (e.g. "Website API Access")
- Enter your email address
- Scroll down to Storefront API
- Check "Allow this app to access your storefront data using the Storefront API"
- Check all relevant data categories
- Click "Save"
- Click "Create app"
- Use the "Storefront API token" at the bottom of the app settings page to authenticate with the Storefront API
- Use the "API key" above it to authenticate with the Admin API
- 📖 Make your first Shopify API request • Shopify docs for how to generate API credentials (ignore the rest).
Using the Storefront API
This is the API that includes your products, collections and checkouts.
- 🧑💻 Storefront API Examples: React + GraphQL • Example code showing how to make a variety of detailed, authenticated GraphQL queries to the Storefront API in a React app.
- 📖 Shopify Storefront API • Shopify docs.
- 📺 Charging Money with Stripe in Next.js in 15 Minutes • 18 minute video by Leigh Halliday.