List modular source work items
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/work-items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/work-items"
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/inventory-sources/{sourceId}/modular/work-items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"storefrontId": "<string>",
"inventorySourceId": "<string>",
"moduleId": "<string>",
"kind": "APPROVE_MEDIA_BUY",
"title": "<string>",
"description": "<string>",
"status": "OPEN",
"priority": "LOW",
"resourceType": "<string>",
"resourceId": "<string>",
"mediaBuyId": "<string>",
"buyerCustomerId": 0,
"assignedTo": "<string>",
"dueAt": "2023-11-07T05:31:56Z",
"blockedReason": "<string>",
"createdByType": "<string>",
"createdById": "<string>",
"completedBy": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"requiredResultFields": [
"<string>"
]
}
],
"total": 4503599627370495,
"scanned": 4503599627370495,
"windowFull": true
}{
"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 modular source work items
List source-side work items for one modular inventory source. Defaults to open, in-progress, and blocked work items.
GET
/
inventory-sources
/
{sourceId}
/
modular
/
work-items
List modular source work items
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/work-items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/work-items"
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/inventory-sources/{sourceId}/modular/work-items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"storefrontId": "<string>",
"inventorySourceId": "<string>",
"moduleId": "<string>",
"kind": "APPROVE_MEDIA_BUY",
"title": "<string>",
"description": "<string>",
"status": "OPEN",
"priority": "LOW",
"resourceType": "<string>",
"resourceId": "<string>",
"mediaBuyId": "<string>",
"buyerCustomerId": 0,
"assignedTo": "<string>",
"dueAt": "2023-11-07T05:31:56Z",
"blockedReason": "<string>",
"createdByType": "<string>",
"createdById": "<string>",
"completedBy": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"requiredResultFields": [
"<string>"
]
}
],
"total": 4503599627370495,
"scanned": 4503599627370495,
"windowFull": true
}{
"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
Inventory source ID
Minimum string length:
1Query Parameters
Optional comma-separated statuses. Defaults to OPEN, IN_PROGRESS, and BLOCKED.
Available options:
OPEN, IN_PROGRESS, BLOCKED, COMPLETED, CANCELLED Available options:
APPROVE_MEDIA_BUY, APPROVE_MEDIA_BUY_CANCELLATION, REVIEW_CREATIVE, CONFIRM_AVAILS, APPROVE_RATE_EXCEPTION, MAP_CREATIVE_REF, SYNC_UPSTREAM_CREATIVE, EXECUTE_UPSTREAM_BOOKING, TRAFFIC_TO_CADENT, RESOLVE_TRAFFICKING_ERROR, UPLOAD_FINAL_REPORT, RESOLVE_SOURCE_HEALTH, GENERAL Minimum string length:
1Minimum string length:
1Minimum string length:
1Required range:
0 < x <= 9007199254740991Required range:
1 <= x <= 100Response
List modular source work items
Show child attributes
Show child attributes
Required range:
0 <= x <= 9007199254740991Rows matched before storefront approval kinds were filtered out. Always greater than or equal to total.
Required range:
0 <= x <= 9007199254740991True when scanned reached the effective limit, so more work items may exist past this page. A short items list is then a floor, not a complete queue — narrow by status or kind to see the rest.