Skip to main content
GET
/
storefronts
/
{storefrontId}
/
capabilities
Get storefront capabilities
curl --request GET \
  --url https://api.interchange.io/api/v2/buyer/storefronts/{storefrontId}/capabilities \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.interchange.io/api/v2/buyer/storefronts/{storefrontId}/capabilities"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.interchange.io/api/v2/buyer/storefronts/{storefrontId}/capabilities', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "storefrontId": 4503599627370496,
  "agents": [
    {
      "sourceId": "<string>",
      "sourceName": "<string>",
      "executionType": "<string>",
      "agentName": "<string>",
      "requiresCredentials": true,
      "probeable": true,
      "message": "<string>",
      "capabilities": {
        "version": "<string>",
        "tools": [
          "<string>"
        ],
        "protocols": [
          "<string>"
        ],
        "features": {},
        "requireOperatorAuth": true,
        "defaultBilling": "<string>",
        "supportedBillings": [
          "<string>"
        ],
        "reportingDeliveryMethods": [],
        "sandboxSupported": true,
        "synthetic": true
      }
    }
  ]
}
{
  "data": null,
  "error": {
    "code": "<string>",
    "message": "<string>",
    "field": "<string>",
    "details": {}
  }
}
{
  "data": null,
  "error": {
    "code": "<string>",
    "message": "<string>",
    "field": "<string>",
    "details": {}
  }
}
{
  "data": null,
  "error": {
    "code": "<string>",
    "message": "<string>",
    "field": "<string>",
    "details": {}
  }
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

storefrontId
integer
required

Storefront ID

Required range: 1 <= x <= 9007199254740991

Response

Get storefront capabilities

Source-level capability diagnostics for a buyer storefront

storefrontId
integer
required

Storefront ID that was inspected

Required range: 1 <= x <= 9007199254740991
agents
object[]
required

Active source rows behind the storefront. Field name retained for response compatibility.