Skip to main content
GET
/
inventory-sources
/
{sourceId}
/
status
Get managed sales agent tenant status
curl --request GET \
  --url https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/status \
  --header 'Authorization: Bearer <token>'
{
  "adapter": {
    "type": "<string>",
    "connected": true,
    "lastTestedAt": "2023-11-07T05:31:56Z",
    "lastTestError": "<string>"
  },
  "syncs": {
    "inventory": {
      "status": "<string>",
      "lastRunAt": "2023-11-07T05:31:56Z",
      "itemCount": 0,
      "error": "<string>"
    },
    "customTargeting": {
      "status": "<string>",
      "lastRunAt": "2023-11-07T05:31:56Z",
      "itemCount": 0,
      "error": "<string>"
    },
    "advertisers": {
      "status": "<string>",
      "lastRunAt": "2023-11-07T05:31:56Z",
      "itemCount": 0,
      "error": "<string>"
    }
  },
  "workflows": {
    "openCount": 0,
    "oldestOpenedAt": "2023-11-07T05:31:56Z",
    "byKind": {}
  },
  "packages": {
    "activeCount": 0,
    "pausedCount": 0,
    "last24hImpressions": 0
  },
  "creatives": {
    "activeCount": 0,
    "pendingReviewCount": 0,
    "rejectedLast24hCount": 0
  },
  "webhooks": {
    "last24h": {
      "delivered": 0,
      "failed": 0,
      "successRate": 123
    },
    "lastFailureAt": "2023-11-07T05:31:56Z"
  },
  "fetchedAt": "2023-11-07T05:31:56Z",
  "products": {
    "activeCount": 0,
    "draftCount": 0,
    "archivedCount": 0
  },
  "setupTasks": {
    "blockerCount": 0,
    "warningCount": 0,
    "items": [
      {
        "id": "<string>",
        "name": "<string>",
        "severity": "blocker",
        "scope": "platform",
        "description": "<string>",
        "isComplete": true,
        "configurePath": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.interchange.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

sourceId
string
required

Inventory source ID

Minimum string length: 1

Response

Get managed sales agent tenant status

Operational snapshot of a managed PSA tenant: adapter health, sync state, workflows, packages, creatives, webhook stats. Mirrors the upstream /tenants/{id}/status shape (camelCased).

adapter
object
required
syncs
object
required
workflows
object
required
packages
object
required
creatives
object
required
webhooks
object
required
fetchedAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
products
object

Product rollup. Optional for backward-compat with salesagent versions before the rollup shipped — newer salesagents always emit it. draftCount is always 0 until the upstream Product model gains a draft state; the field is reserved so adding state later doesn't change the wire shape.

setupTasks
object

Configuration-completeness rollup from the upstream tenant status. Storefront merges these with its own platform-managed task list.