List storefront connections
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-connections"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"storefront": {
"id": "<string>",
"platformId": "<string>",
"name": "<string>",
"providerType": "<string>",
"providerDisplayName": "<string>",
"credentialMode": "<string>",
"routingMode": "<string>",
"agentSources": [
{
"sourceId": "<string>",
"name": "<string>"
}
],
"publisherDomain": "<string>",
"brandName": "<string>",
"logoUrl": "<string>",
"logoBackground": "<string>",
"description": "<string>",
"channels": [
"<string>"
],
"regions": [
"<string>"
],
"website": "<string>"
},
"authModes": [],
"accountCount": 4503599627370495,
"mappedAdvertiserCount": 0,
"featurePolicy": {
"buyEnabled": true,
"eventsEnabled": true,
"feedsEnabled": true,
"updatedAt": "2023-11-07T05:31:56Z"
},
"connection": {
"id": "<string>",
"storefrontId": "<string>",
"customerId": 0,
"kind": "<string>",
"providerType": "<string>",
"sourceKind": "<string>",
"status": "<string>",
"metadata": {},
"createdBy": "<string>",
"connectedBy": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"credential": {
"id": "<string>",
"connectionId": "<string>",
"scopes": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z",
"lastRefreshedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"connectedBy": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"selectedAccount": {
"id": "<string>",
"connectionId": "<string>",
"credentialId": "<string>",
"externalAccountId": "<string>",
"name": "<string>",
"advertiser": "<string>",
"currency": "<string>",
"providerRawStatus": "<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": {}
}
}Storefronts
List storefront connections
List storefront connection rows and buyer-controlled feature policies. Adapter storefronts include delegated auth status; all storefronts include buy, event, and feed sharing settings.
GET
/
storefront-connections
List storefront connections
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/storefront-connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/storefront-connections"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"storefront": {
"id": "<string>",
"platformId": "<string>",
"name": "<string>",
"providerType": "<string>",
"providerDisplayName": "<string>",
"credentialMode": "<string>",
"routingMode": "<string>",
"agentSources": [
{
"sourceId": "<string>",
"name": "<string>"
}
],
"publisherDomain": "<string>",
"brandName": "<string>",
"logoUrl": "<string>",
"logoBackground": "<string>",
"description": "<string>",
"channels": [
"<string>"
],
"regions": [
"<string>"
],
"website": "<string>"
},
"authModes": [],
"accountCount": 4503599627370495,
"mappedAdvertiserCount": 0,
"featurePolicy": {
"buyEnabled": true,
"eventsEnabled": true,
"feedsEnabled": true,
"updatedAt": "2023-11-07T05:31:56Z"
},
"connection": {
"id": "<string>",
"storefrontId": "<string>",
"customerId": 0,
"kind": "<string>",
"providerType": "<string>",
"sourceKind": "<string>",
"status": "<string>",
"metadata": {},
"createdBy": "<string>",
"connectedBy": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"credential": {
"id": "<string>",
"connectionId": "<string>",
"scopes": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z",
"lastRefreshedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"connectedBy": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"selectedAccount": {
"id": "<string>",
"connectionId": "<string>",
"credentialId": "<string>",
"externalAccountId": "<string>",
"name": "<string>",
"advertiser": "<string>",
"currency": "<string>",
"providerRawStatus": "<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
API key or access token
Query Parameters
Optional storefront ID filter
Required range:
1 <= x <= 9007199254740991Response
List storefront connections
Storefront connection rows and feature policies visible to a buyer.
Show child attributes
Show child attributes
⌘I