All templates

E-commerce

Mock the Shopify Admin API

Products and orders without a development store.

3 routes · live immediately · no account needed

Standing up a Shopify development store, seeding it with products, and keeping an access token alive is a lot of setup for what is usually a handful of read calls. These routes return the Admin API's product and order shapes — including the nested variants array that trips up most first integrations — so you can build the app first and connect a real store later.

What you get

GET/admin/api/2024-01/products.json200 OK
GET/admin/api/2024-01/products/632910392.json200 OK
GET/admin/api/2024-01/orders.json200 OK

Example response

GET /admin/api/2024-01/products.json

{
  "products": [
    {
      "id": 632910392,
      "title": "Merino Wool Beanie",
      "body_html": "<p>Warm, itch-free, and machine washable.</p>",
      "vendor": "Northbound",
      "product_type": "Accessories",
      "handle": "merino-wool-beanie",
      "status": "active",
      "tags": "winter, wool",
      "created_at": "2024-01-08T09:12:33-05:00",
      "updated_at": "2024-02-02T11:00:07-05:00",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Charcoal",
          "price": "29.00",
          "sku": "BEANIE-CH",
          "position": 1,
          "inventory_quantity": 34
        }
      ]
    }
  ]
}

Good for

  • Build a storefront or admin app before a dev store exists
  • Work with a fixed product catalogue that never changes under you
  • Develop offline without an access token

Response payloads are representative examples using this API's real field names and object shapes, not an exhaustive replica of its schema. MockBase is an independent tool and is not affiliated with, endorsed by, or sponsored by Shopify.