Inventory
Retrieve a file Preview
One file, with every issue.
/broker-api/v1/inventory/files/{file_id}curl -X GET "https://api.collegeseats.com/broker-api/v1/inventory/files/6f1c9a0e-2b7d-4c4e-9a51-0d2f3c8b7e11" \
-H "Authorization: Bearer csk_live_..."{
"id": "6f1c9a0e-2b7d-4c4e-9a51-0d2f3c8b7e11",
"received_via": "upload_link",
"file_name": "inventory.csv",
"status": "processed",
"error_code": null,
"error_message": null,
"rows_total": 412,
"rows_listed": 396,
"rows_created": 18,
"rows_updated": 41,
"rows_removed": 7,
"rows_skipped": 9,
"rows_held": 7,
"received_at": "2027-08-25T18:02:11Z",
"issues": [
{
"line": 88,
"ticket_id": "48133",
"code": "event_not_found",
"severity": "skipped",
"message": "We couldn't find Auburn vs Alabama on 09/11/2027. Pick the game in Needs a match, or check the date and teams."
}
]
}Path parameters
file_idstring (uuid)requiredThe file’s id.
Response
200 The file object. The file object.
idstring (uuid)requiredThe file’s id.
received_viastringrequiredHow the file reached us.
One of
upload_linkportalsftpapifile_namestringnullableThe name you sent with it, if any.
statusstringrequiredprocessed: we read the file and applied it, even if some rows were skipped. failed: we could not read it at all, and none of your listings changed. held: an automated file that would take down more than half of your listings (and more than 20), so nothing changed; apply it from the portal, or send a full file and it replaces this one (superseded). released: a held file you applied.
One of
processedfailedheldreleasedsupersedederror_codestringnullableWhy a failed file failed, for example missing_columns.
error_messagestringnullableThe same, written to show a person.
rows_totalintegerrequiredData rows in the file.
rows_listedintegerrequiredTicket groups for sale after this file.
rows_createdintegerrequiredGroups listed for the first time.
rows_updatedintegerrequiredGroups whose price, seats or details changed.
rows_removedintegerrequiredYour listings taken down because this file no longer has them.
rows_skippedintegerrequiredRows not listed. Each has an issue.
rows_heldintegerrequiredGroups on file but shown through another exchange’s cheaper copy of the same seats. See Seats on other exchanges.
received_atdate-timerequiredWhen the file arrived.
Every row we skipped or listed with a caveat, in line order.
Child attributes
lineintegerrequiredThe line in your file, counting the header as line 1.
ticket_idstringnullableYour ticket ID for the row, when it had one.
codestringrequiredA stable code to branch on. See Results and issues for every code.
severitystringrequiredskipped: the row was not listed. warning: it was listed, with a caveat.
One of
skippedwarningmessagestringrequiredWhat happened, written to show a person.
Errors
- 401
invalid_api_keyThe key is missing, revoked or wrong. - 403
broker_not_approvedThe broker account is not approved, or is suspended. - 429
rate_limitedOver the rate limit. Wait and retry. - 404
feed_file_not_foundNo file of yours has this id.