Skip to main content
GET
/
buyer-auto-approvals
List per-buyer media-buy auto-approve overrides
curl --request GET \
  --url https://api.interchange.io/api/v2/storefront/buyer-auto-approvals \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.interchange.io/api/v2/storefront/buyer-auto-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/buyer-auto-approvals', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "items": [
    {
      "id": "42",
      "storefrontId": "1234",
      "buyerCustomerId": 804,
      "buyerName": "Coca-Cola",
      "autoApproveEnabled": true,
      "reason": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "createdByCustomerId": 123,
      "updatedByCustomerId": 123,
      "policyBypassCount": 0,
      "lastPolicyBypassAt": "2023-11-07T05:31:56Z"
    }
  ],
  "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

Authorization
string
header
required

API key or access token

Response

List per-buyer media-buy auto-approve overrides

Per-buyer media-buy auto-approve overrides for a storefront.

items
object[]
required
total
integer
required
Required range: 0 <= x <= 9007199254740991