Inventory

Retrieve a file Preview

One file, with every issue.

GET/broker-api/v1/inventory/files/{file_id}
Base URL
https://api.collegeseats.com
Authentication
API key (bearer)
GET /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_..."
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."
    }
  ]
}

Path parameters

  • file_idstring (uuid)required

    The file’s id.

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.
  • 404feed_file_not_foundNo file of yours has this id.