Inventory
Send a file with your API key Preview
The upload link, authenticated with your API key instead of a token in the URL.
/broker-api/v1/inventorySame file, same rules and the same response as the upload link. Use whichever fits your system.
curl -X PUT "https://api.collegeseats.com/broker-api/v1/inventory?file_name=inventory.csv" \
-H "Authorization: Bearer csk_live_..." \
-H "Content-Type: text/csv" \
--data-binary @inventory.csvTicketID,Event,Venue,EventDate,EventTime,Section,Row,SeatFrom,SeatThru,Quantity,Price,InHandDate,Format,SplitType,Notes
48117,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,214,8,3,4,2,78.00,09/04/2027,mobile_transfer,None,Aisle
48126,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,227,30,1,6,6,41.00,,mobile_transfer,NeverLeaveOne,{
"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."
}
]
}Query parameters
file_namestringShown on the Feed screen.
Body
text/csv
The file itself. See File format and Columns.
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. - 413
file_too_largeOver 10 MB.