API introduction

GroKeeper API

On this page

The GroKeeper API lets your own software read and update a store: categories, products and their sizes, stock, orders and contacts. It is a JSON API. Your software sends an HTTP request, and the store answers with JSON. 20 calls in 6 resources are available today, and the store can also send your software a signed message the moment something happens (webhooks: 20 events).

Good to know

The API is for the person or company who connects a shop to other software, for example an accounting tool, a warehouse system or a spreadsheet. It works the same way for every GroKeeper store. If you are a shop owner looking for help with the admin, start with the Admin guide. If you are a developer, start with the Quick start.

What you can do#

Every call, with its address, the permission it needs and a request example in curl, PHP, Node.js and Python, is on the API reference.

The store's own address#

There is no shared GroKeeper address for the API. Every GroKeeper store has its own address, so the API address is the store's address followed by /api/v1. In these pages the example store is https://yourstore.example.com, so a call goes to https://yourstore.example.com/api/v1/products. Replace it with the address of the store you connect to. If you connect to several stores, each one has its own address and its own keys.

Quick start#

The short version. The Quick start page walks through it step by step, including how to read a page of orders and how to create a webhook.

  1. Ask a Super Admin of the store to create an API key: open Settings > API & webhooks > API keys in the admin and press Create API key. Give the key a name, and tick only the permissions it needs, for example read:products. Copy the key when it is shown: it appears only once.
  2. Send the key with every request in the header Authorization: Bearer YOUR_API_KEY (or in an X-Api-Key header).
  3. Call an address under https://yourstore.example.com/api/v1. Answers are JSON.
curl -s "https://yourstore.example.com/api/v1/products?limit=5" \
  -H "Authorization: Bearer YOUR_API_KEY"

A success answer looks like this (a list also carries links):

{
    "data": [
        {
            "id": 3,
            "name": "Sample Category",
            "slug": "sample-category",
            "sort": 1,
            "archived": false,
            "general": false,
            "products_count": 12,
            "created_at": "2026-10-01T09:00:00Z",
            "updated_at": "2026-10-01T09:00:00Z"
        }
    ],
    "meta": {
        "page": 1,
        "per_page": 25,
        "total": 1,
        "last_page": 1
    },
    "links": {
        "first": "https://yourstore.example.com/api/v1/categories?page=1",
        "last": "https://yourstore.example.com/api/v1/categories?page=1",
        "prev": null,
        "next": null
    }
}

Good to know#

  • Money is in whole units of the store's currency. Times are ISO 8601 in UTC, for example 2026-11-21T10:00:00Z (the created_at of an order is written with its UTC offset instead).
  • Ids are stable: an id is never reused or changed.
  • Nothing is ever deleted through the API. Removing a product archives it.
  • The API cannot take payments, refund, run a checkout or change stock directly. See what the API will never do.
  • The API stays on /v1 and only ever grows: new fields, calls and events are added, and nothing is renamed or removed. See the API changes.
  • The examples in these pages use made-up values. Never put a real key in a web page, an app or a public repository.

Rolling out

A public storefront API (cart, checkout and customer sign-in for headless or custom storefronts) is coming soon. It is not built yet and has no date. Today the API is for connecting back-office software.

Where to go next#