Inventory

Send a file with your API key Preview

The upload link, authenticated with your API key instead of a token in the URL.

PUT/broker-api/v1/inventory
Base URL
https://api.collegeseats.com
Authentication
API key (bearer)

Same file, same rules and the same response as the upload link. Use whichever fits your system.

PUT /broker-api/v1/inventory
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.csv
inventory.csv
TicketID,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,
Response · 200
{
  "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_namestring

    Shown 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)required

    The file’s id.

  • received_viastringrequired

    How the file reached us.

    One of upload_link portal sftp api

  • file_namestringnullable

    The name you sent with it, if any.

  • statusstringrequired

    processed: 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 processed failed held released superseded

  • error_codestringnullable

    Why a failed file failed, for example missing_columns.

  • error_messagestringnullable

    The same, written to show a person.

  • rows_totalintegerrequired

    Data rows in the file.

  • rows_listedintegerrequired

    Ticket groups for sale after this file.

  • rows_createdintegerrequired

    Groups listed for the first time.

  • rows_updatedintegerrequired

    Groups whose price, seats or details changed.

  • rows_removedintegerrequired

    Your listings taken down because this file no longer has them.

  • rows_skippedintegerrequired

    Rows not listed. Each has an issue.

  • rows_heldintegerrequired

    Groups on file but shown through another exchange’s cheaper copy of the same seats. See Seats on other exchanges.

  • received_atdate-timerequired

    When the file arrived.

  • issuesarray of issuerequired

    Every row we skipped or listed with a caveat, in line order.

    Child attributes
    • lineintegerrequired

      The line in your file, counting the header as line 1.

    • ticket_idstringnullable

      Your ticket ID for the row, when it had one.

    • codestringrequired

      A stable code to branch on. See Results and issues for every code.

    • severitystringrequired

      skipped: the row was not listed. warning: it was listed, with a caveat.

      One of skipped warning

    • messagestringrequired

      What happened, written to show a person.

Errors

  • 401invalid_api_keyThe key is missing, revoked or wrong.
  • 403broker_not_approvedThe broker account is not approved, or is suspended.
  • 429rate_limitedOver the rate limit. Wait and retry.
  • 413file_too_largeOver 10 MB.