List account presences
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/presences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/presences"
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/{accountId}/presences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"presences": [
{
"id": "<string>",
"objectType": "audience",
"direction": "pushed",
"upstreamObjectId": "<string>",
"syncState": "live",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"rowCount": 4503599627370495,
"retiredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"audienceId": "<string>",
"eventSourceId": "<string>"
}
],
"total": 123
}{
"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": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Storefronts
List account presences
List upstream-discovered (“tracked”) and buyer-pushed audiences/event sources for one connected provider account. Reference-only: identity, sync status, and counts — never member lists or event payloads.
GET
/
storefront-connections
/
{connectionId}
/
accounts
/
{accountId}
/
presences
List account presences
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/presences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-connections/{connectionId}/accounts/{accountId}/presences"
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/{accountId}/presences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"presences": [
{
"id": "<string>",
"objectType": "audience",
"direction": "pushed",
"upstreamObjectId": "<string>",
"syncState": "live",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"rowCount": 4503599627370495,
"retiredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"audienceId": "<string>",
"eventSourceId": "<string>"
}
],
"total": 123
}{
"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": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Path Parameters
Storefront connection ID
Storefront connection account ID
Query Parameters
Number of results to return (max 250)
Required range:
0 < x <= 250Example:
50
Number of results to skip for pagination
Required range:
0 <= x <= 9007199254740991Example:
0
Filter to one presence object type.
Available options:
audience, event_source Include retired (terminal) presence edges. Defaults to false.
Available options:
true, false