ONE shopify:status
← Receivers

shopify:status

shopify family

Where your group's Shopify pull stands, from D1 only (no Composio call): connected, auto (in the hourly pull), the shop and currency, the last run and the last good one, the last error and counts, each scope's cursor (floor, and midPass when a pass is unfinished), what ONE holds from Shopify (contacts, orders, live, refunded, cancelled, checkouts and how many fired), and notes on what Shopify hides

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
manage_integrations
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/shopify:status \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "workspace": <string> }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • workspace string optional

Response

What comes back from the call.

  • ok boolean
  • error string workspace_not_yours · no_db
  • workspace string
  • connected boolean
  • auto boolean
  • shop string | null
  • currency string | null
  • lastRunAt number | null
  • lastOkAt number | null
  • lastError string | null
  • lastCounts any The last run's counts, as shopify:sync answers them; null before the first
  • cursors object Per scope (customers, orders, catalog, checkouts)
  • held object
  • notes string[]

Traffic

Every call to shopify:status, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names shopify:status, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 2
  • one.ie/web/src/lib/receiver-index.generated.ts:475
  • one.ie/web/src/lib/shopify/resolvers.ts:101
CLI 3
  • packages/cli/src/lib/receivers-index.generated.ts:496
  • packages/cli/src/lib/receivers.generated.ts:496
  • packages/cli/src/shopify.ts:31
→

Answered by

shopify:status Resolved outside this repo — the pay, channels or api worker answers it. Dispatched through POST /api/ask/shopify:status, after the envelope validates the payload.

shopify family · 1 more

JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string"
    }
  }
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "description": "workspace_not_yours · no_db",
      "type": "string"
    },
    "workspace": {
      "type": "string"
    },
    "connected": {
      "type": "boolean"
    },
    "auto": {
      "type": "boolean"
    },
    "shop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "lastRunAt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "lastOkAt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "lastError": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "lastCounts": {
      "description": "The last run's counts, as shopify:sync answers them; null before the first"
    },
    "cursors": {
      "description": "Per scope (customers, orders, catalog, checkouts)",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "floor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "midPass": {
            "type": "boolean"
          }
        },
        "required": [
          "floor",
          "midPass"
        ]
      }
    },
    "held": {
      "type": "object",
      "properties": {
        "contacts": {
          "type": "number"
        },
        "orders": {
          "type": "number"
        },
        "liveOrders": {
          "type": "number"
        },
        "refundedOrders": {
          "type": "number"
        },
        "cancelledOrders": {
          "type": "number"
        },
        "checkouts": {
          "type": "number"
        },
        "checkoutsFired": {
          "type": "number"
        }
      },
      "required": [
        "contacts",
        "orders",
        "liveOrders",
        "refundedOrders",
        "cancelledOrders",
        "checkouts",
        "checkoutsFired"
      ]
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "ok"
  ]
}