List media-buy approval entries
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/media-buy-approvals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/media-buy-approvals"
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/storefront/media-buy-approvals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "42",
"kind": "create",
"storefrontId": "1234",
"mediaBuyId": "<string>",
"buyerCustomerId": 0,
"submittedPayload": "<unknown>",
"status": "pending",
"reviewedBy": "<string>",
"reviewedAt": "2023-11-07T05:31:56Z",
"reviewerNotes": "<string>",
"forwardedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"readiness": {
"packages": [
{
"mediaProductId": "<string>",
"buyerRef": "<string>",
"assignedCreativeIds": [
"<string>"
],
"unusableCreatives": [
{
"creativeId": "<string>",
"reason": "<string>"
}
],
"unusableCreativeCount": 4503599627370495,
"compatibleUnattachedCreativeIds": [
"<string>"
],
"compatibleUnattachedCreativeCount": 4503599627370495
}
],
"packageCount": 4503599627370495,
"creativelessPackageCount": 4503599627370495,
"creativeSyncFailures": [
{
"creativeId": "<string>",
"status": "<string>",
"detail": "<string>"
}
],
"creativeSyncFailureCount": 4503599627370495
}
}
],
"total": 4503599627370495
}{
"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": {}
}
}Storefront
List media-buy approval entries
List approval-queue entries for the storefront, newest first. Defaults to status=pending; pass status=approved|rejected|revoked to see decided history.
GET
/
media-buy-approvals
List media-buy approval entries
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/media-buy-approvals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/media-buy-approvals"
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/storefront/media-buy-approvals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "42",
"kind": "create",
"storefrontId": "1234",
"mediaBuyId": "<string>",
"buyerCustomerId": 0,
"submittedPayload": "<unknown>",
"status": "pending",
"reviewedBy": "<string>",
"reviewedAt": "2023-11-07T05:31:56Z",
"reviewerNotes": "<string>",
"forwardedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"readiness": {
"packages": [
{
"mediaProductId": "<string>",
"buyerRef": "<string>",
"assignedCreativeIds": [
"<string>"
],
"unusableCreatives": [
{
"creativeId": "<string>",
"reason": "<string>"
}
],
"unusableCreativeCount": 4503599627370495,
"compatibleUnattachedCreativeIds": [
"<string>"
],
"compatibleUnattachedCreativeCount": 4503599627370495
}
],
"packageCount": 4503599627370495,
"creativelessPackageCount": 4503599627370495,
"creativeSyncFailures": [
{
"creativeId": "<string>",
"status": "<string>",
"detail": "<string>"
}
],
"creativeSyncFailureCount": 4503599627370495
}
}
],
"total": 4503599627370495
}{
"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
Filter by lifecycle state. Defaults to pending so the operator queue does not have to thread the filter through manually.
Available options:
pending, approved, rejected, revoked Maximum approval rows to return after combining create and update decisions.
Required range:
1 <= x <= 100