Skip to main content
GET
/
storefront-connections
/
{connectionId}
/
accounts
List integration external accounts
curl --request GET \
  --url https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts"

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/storefront-connections/{connectionId}/accounts', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "items": [
    {
      "id": "<string>",
      "connectionId": "<string>",
      "credentialId": "<string>",
      "externalAccountId": "<string>",
      "name": "<string>",
      "accountType": null,
      "parentExternalId": null,
      "parentName": null,
      "isDefault": true,
      "isSelected": true,
      "archivedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "mappedAdvertisers": []
    }
  ]
}
{
  "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

connectionId
integer<int64>
required

Storefront adapter connection ID

Response

List integration external accounts

External accounts discovered for an integration, including advertiser mappings.

items
object[]
required