Stores — API reference

Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.

Stores

GET /stores

  • Operation stores_list
  • Scope stores.read
  • Lowest role viewer
  • Read only

The account's connected online stores: id, name, address, platform, status (active, pending, suspended, revoked), Mr. Nova (the store manager) on or off, the Shopping Assistant on or off and public, the store module version, connected since and the last contact from the store.

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • stores array of object required max items 20
    • id string required — The store id.
    • name string | null required
    • host string | null required — The store's address.
    • platform string | null required — The shop platform.
    • status string required — active, pending, suspended or revoked.
    • mr_nova boolean required — Mr. Nova (the store manager) is on.
    • shopping_assistant boolean required — The Shopping Assistant is on.
    • shopping_assistant_public boolean required — The Shopping Assistant is shown to visitors.
    • module_version string | null required — The IQCore module version in the store.
    • connected_at string | null required
    • last_contact_at string | null required — The last signed call from the store.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/stores" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/stores", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/stores",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "stores": [
        {
            "id": "<id>",
            "name": "Summer sale",
            "host": "host",
            "platform": "platform",
            "status": "status",
            "mr_nova": false,
            "shopping_assistant": false,
            "shopping_assistant_public": false,
            "module_version": "module_version",
            "connected_at": "2026-12-05T09:00:00Z",
            "last_contact_at": "2026-12-05T09:00:00Z"
        }
    ]
}

Store health

GET /stores/health

  • Operation store_health
  • Scope stores.read
  • Lowest role viewer
  • Read only

Health of one connected store (id from stores_list) or of all: status, last contact from the store and silent or not, module version, capabilities reported, the last connection error, and the latest Store Health Report (score, date, top issues).

Parameters

  • id query string — The store id (uuid); omit for every store. max length 64
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • stores array of object required max items 10
    • id string required — The store id.
    • name string | null required
    • status string required — active, pending, suspended or revoked.
    • last_contact_at string | null required — The last signed call from the store.
    • silent boolean required — An active store that has not called for 14 days.
    • module_version string | null required
    • capabilities integer required — Capabilities the store reported. min 0
    • capabilities_checked_at string | null required
    • capabilities_stale boolean required — The capabilities should be checked again.
    • last_error string | null required — The last connection error (shortened). max length 150
    • health_report object | null required — The latest finished Store Health Report of Mr. Nova (null = none yet).
      • score integer | null required — The overall score.
      • date string | null required
      • headline string | null required max length 200
      • issues_total integer required min 0
      • top_issues array of object required max items 5
        • title string required max length 160
        • severity string required — high, medium or low.
        • count integer required min 0

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/stores/health" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/stores/health", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/stores/health",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "stores": [
        {
            "id": "<id>",
            "name": "Summer sale",
            "status": "status",
            "last_contact_at": "2026-12-05T09:00:00Z",
            "silent": false,
            "module_version": "module_version",
            "capabilities": 1,
            "capabilities_checked_at": "2026-12-05T09:00:00Z",
            "capabilities_stale": false,
            "last_error": "last_error",
            "health_report": {
                "score": 1,
                "date": "2026-12-05T09:00:00Z",
                "headline": "headline",
                "issues_total": 1,
                "top_issues": []
            }
        }
    ]
}

Shopping Assistant

GET /stores/{id}/assistant

  • Operation store_assistant_get
  • Scope stores.read
  • Lowest role viewer
  • Read only

The Shopping Assistant of one store (id from stores_list): on or off, shown to visitors or not, its name, the brief (instructions, store notes, switches) and the titles of the store's own policies.

Parameters

  • id path string required — The store id (uuid). max length 64
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • store object required
    • id string required
    • name string | null required
  • enabled boolean required — The Shopping Assistant is on.
  • public boolean required — It is shown to visitors.
  • assistant_name string | null required max length 80
  • brief object required — The merchant's brief (the merchant's own text).
    • instructions string required max length 1500
    • notes string required max length 1500
    • options object required — The assistant's switches by name.
  • policies array of object required — The store's own policies (titles only). max items 30
    • title string required max length 120
    • assistant string | null required — The assistant the policy is for.
    • category string | null required — The product category it targets (null = every product).
    • active boolean required

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/stores/<id>/assistant" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/stores/<id>/assistant", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/stores/<id>/assistant",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "store": {
        "id": "<id>",
        "name": "Summer sale"
    },
    "enabled": false,
    "public": false,
    "assistant_name": "assistant_name",
    "brief": {
        "instructions": "instructions",
        "notes": "notes",
        "options": {}
    },
    "policies": [
        {
            "title": "title",
            "assistant": "assistant",
            "category": "category",
            "active": false
        }
    ]
}