Quick Start

Make your first API call in 5 minutes.

Overview

The Whatalo API lets you programmatically manage products, orders, customers, and more for any Whatalo store. This guide walks you through your first API call.

Explore the Documentation

Step 1: Get Your API Key

  1. Log in to your Whatalo store dashboard
  2. Navigate to Settings > Developer > API Keys
  3. Click Create API Key
  4. Select the scopes you need (e.g., read:products)
  5. Copy the key — it starts with wk_live_ or wk_test_

Your API key is shown only once. Store it securely — you cannot retrieve it later.

Step 2: Make Your First Request

cURL
curl -X GET https://api.whatalo.com/v1/products \
  -H "X-API-Key: wk_test_your_key_here"
JavaScript (fetch)
const response = await fetch("https://api.whatalo.com/v1/products", {
  headers: {
    "X-API-Key": "wk_test_your_key_here",
  },
});

if (!response.ok) {
  throw new Error(`API error: ${response.status}`);
}

const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.whatalo.com/v1/products",
    headers={"X-API-Key": "wk_test_your_key_here"},
)

print(response.json())

Step 3: Explore the API

Now that you have your key working, explore the full API:

ResourceEndpointDescription
ProductsGET /v1/productsList all products
OrdersGET /v1/ordersList all orders
CustomersGET /v1/customersList all customers
StoreGET /v1/storeGet store info
CategoriesGET /v1/categoriesList categories
DiscountsGET /v1/discountsList discounts

Environments

EnvironmentKey PrefixUse For
Testwk_test_Development and testing
Livewk_live_Production integrations

Test keys work against the same data but are rate-limited more aggressively. Use them during development.

Next Steps

On this page