SponsorUnited Spend tracker API

Spend tracker

Operations 43

GET /api/spend-tracker/accuracy-metrics/league/{leagueId}/season/{seasonId} F500969136e1001e147bce6ef2156007 #
GET /api/spend-tracker/currency-rates 217cadb5e7e9edb860992e98b98f6b1c #
PUT /api/spend-tracker/currency-rates 63f9d62ecf90fce72c96064315f19417 #
GET /api/spend-tracker/bucket/assets Get all asset buckets #
POST /api/spend-tracker/bucket/assets Update asset buckets #
GET /api/spend-tracker/change-log/season/{seasonId} 11336d3a0c7334f0513e31ba5703601f #
GET /api/spend-tracker/deal-bucket-assets Cbfc753d982e3b42de8399fb18d7163a #
POST /api/spend-tracker/league-assets/custom-bucket 065d70f66e9f126868752b47c57babff #
PUT /api/spend-tracker/deal-levels Update deal level #
DELETE /api/spend-tracker/deal-levels/season/{seasonId}/property/{propertyId}/brand/{brandId} Delete deal level #
POST /api/spend-tracker/deal-types 36dcf579f48882ca602031cb409a1a7e #
PUT /api/spend-tracker/deal-types/{id} 99072c0508aa97d8b2a7b84081ca51f4 #
DELETE /api/spend-tracker/deal-types/{id} 5cabbabc832c5a326ee8f9ea0acb30c7 #
GET /api/spend-tracker/dollar-off-metrics/accuracy-selection 1898aa181391b5b09622098751c9de87 #
POST /api/spend-tracker/dollar-off-metrics/accuracy-selection E3ff2251a8900ab3b69941bb25cecfe9 #
DELETE /api/spend-tracker/dollar-off-metrics/accuracy-selection 3920981fad7b05b15a721072177aad85 #
GET /api/spend-tracker/dollar-off-metrics/league 3a87e017973166a460942b4ef18f24a4 #
GET /api/spend-tracker/metrics/dollar-off Get dollar-off metrics #
POST /api/spend-tracker/metrics/dollar-off Highlight metrics cell #
DELETE /api/spend-tracker/metrics/dollar-off Remove metrics cell highlight #
GET /api/spend-tracker/league-assets/{leagueId}/season/{seasonId} 177818034594465200b97f570662f837 #
POST /api/spend-tracker/league-assets/{leagueId}/season/{seasonId} 5fd5bbae0bb3c4c3f3e667142c14a060 #
GET /api/spend-tracker/league/{leagueId}/season/{seasonId}/minimums/calculate D3948bb1739920103da839f857669647 #
GET /api/spend-tracker/league-properties/{leagueId}/season/{seasonId} 8f3c0dbe61678adbaef1063932d87b3f #
POST /api/spend-tracker/league-properties 56c4a4c1da5a07a5eadf43482eaa3dce #
GET /api/spend-tracker/revenue/league/{leagueId}/season/{seasonId} 7da04a734412dc545300d5b667bebfc1 #
GET /api/spend-tracker/leagues 9f09ef16ffc4e7558ffca3f983224776 #
GET /api/spend-tracker/league/{leagueId}/season/{seasonId}/margin-of-error/calculate 18b2eda354297e7ba2b6b9783c7c7010 #
GET /api/spend-tracker/property-deal-revenues/actual/season/{seasonId}/property/{propertyId} Eb23e3c13fff633587f3d27f326ad6f4 #
GET /api/spend-tracker/property-deal-revenues/predicted/season/{seasonId}/property/{propertyId} 43710b2f5aa2248986bbfe24208909ea #
GET /api/spend-tracker/property-deal-revenues/predicted/league/{leagueId}/season/{seasonId}/download F65158e84467d3ba4b9026bc41937d9f #
POST /api/spend-tracker/revenue/accept-wip-predicted-deal-revenues A74b2a2bbdc1bfb4371ca649861ba15a #
GET /api/spend-tracker/property-deal-revenues/season/{seasonId}/property/{propertyId} Fe1e46e83488920c9c29b1da40dced1b #
PUT /api/spend-tracker/publish/season 34fee405549f93f4d09d510829b40034 #
GET /api/spend-tracker/revenue/deals E9840745f3112724811eb572c9f278a1 #
GET /api/spend-tracker/revenue/deals/deal 8a0e74abadaaa3a18f50c2fe43ffc97a #
POST /api/spend-tracker/revenue/deals/deal Ef78556dff185a7e6a0bd4831b8240bc #
GET /api/spend-tracker/revenue/deals/deal/season B80dfe9aeb9dac36e732c0a23b14215d #
POST /api/spend-tracker/revenue/deal-revenues/duplicate Af3b544d938853f5f0bf665495c4f360 #
POST /api/spend-tracker/revenue/subcategory/factors 19cbe81114ddb1f8f93f145818294cc9 #
GET /api/spend-tracker/revenue/subcategory/{subcategoryId}/season/{seasonId} 87bcb93801ca3d4aa5d78f9615ac9904 #
POST /api/spend-tracker/revenue/subcategory-revenues D107e572679297d0c9295b2f30d87792 #
GET /api/spend-tracker/revenue/subcategories-deals/league/{leagueId}/season/{seasonId} 18a937056b508c523abd38a822777184 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sponsorunited-spend-tracker-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sponsorunited-spend-tracker-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SponsorUnited Spend tracker API
  version: v1
  description: Spend tracker
tags:
- name: Spend tracker
  description: Spend tracker
paths:
  /api/spend-tracker/accuracy-metrics/league/{leagueId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Get accuracy metrics for league in season
      operationId: f500969136e1001e147bce6ef2156007
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: integer
        example: '3'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: integer
        example: '298'
      responses:
        '200':
          description: League accuracy metrics for Predicted Deal Revenues for league in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccuracyMetricsResultResource'
      security:
      - bearerAuth: []
      summary: F500969136e1001e147bce6ef2156007
      x-summary-source: derived
  /api/spend-tracker/currency-rates:
    get:
      tags:
      - Spend tracker
      description: Get currency exchange rates for a season
      operationId: 217cadb5e7e9edb860992e98b98f6b1c
      parameters:
      - name: season_id
        in: query
        required: true
        schema:
          type: integer
          example: 292
      responses:
        '200':
          description: Currency exchange rates
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CurrencyExchangeRateResource'
      security:
      - bearerAuth: []
      summary: 217cadb5e7e9edb860992e98b98f6b1c
      x-summary-source: derived
    put:
      tags:
      - Spend tracker
      description: Update currency exchange rates for a season
      operationId: 63f9d62ecf90fce72c96064315f19417
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CurrencyExchangeRateUpdateRequest'
      responses:
        '200':
          description: Updated currency exchange rates
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CurrencyExchangeRateResource'
      security:
      - bearerAuth: []
      summary: 63f9d62ecf90fce72c96064315f19417
      x-summary-source: derived
  /api/spend-tracker/bucket/assets:
    get:
      tags:
      - Spend tracker
      summary: Get all asset buckets
      description: Fetch asset buckets with droplets
      operationId: 3b21ebc75cf8f6e4ace00b5f4d79e670
      responses:
        '200':
          description: Asset Buckets with droplets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetBucketsCollection'
      security:
      - bearerAuth: []
    post:
      tags:
      - Spend tracker
      summary: Update asset buckets
      description: Updates multiple asset buckets with their droplet configurations
      operationId: 39ee2b1280b1ae0e5cdd5ac37bed9ef6
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssetsBucketsUpdateRequest'
      responses:
        '201':
          description: Asset Buckets with droplets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetBucketsCollection'
      security:
      - bearerAuth: []
  /api/spend-tracker/change-log/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch and format activity logs for spend tracker actions by season id
      operationId: 11336d3a0c7334f0513e31ba5703601f
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: The formatted change log for the given season.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendTrackerChangeLogShowResource'
      security:
      - bearerAuth: []
      summary: 11336d3a0c7334f0513e31ba5703601f
      x-summary-source: derived
  /api/spend-tracker/deal-bucket-assets:
    get:
      tags:
      - Spend tracker
      description: Get deal with deal assets in buckets
      operationId: cbfc753d982e3b42de8399fb18d7163a
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealBucketAssetsGetDealAssetsByBucketsRequest'
      responses:
        '200':
          description: Deal with deal assets in buckets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealBucketAssetsGetDealAssetsByBucketsResource'
      security:
      - bearerAuth: []
      summary: Cbfc753d982e3b42de8399fb18d7163a
      x-summary-source: derived
  /api/spend-tracker/league-assets/custom-bucket:
    post:
      tags:
      - Spend tracker
      description: Assing an asset to a different bucket, only for a certain deal
      operationId: 065d70f66e9f126868752b47c57babff
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveCustomAssetBucketForDealRequest'
      responses:
        '200':
          description: League Asset Buckets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DealBucketAssetsGetDealAssetsByBucketsResource'
      security:
      - bearerAuth: []
      summary: 065d70f66e9f126868752b47c57babff
      x-summary-source: derived
  /api/spend-tracker/deal-levels:
    put:
      tags:
      - Spend tracker
      summary: Update deal level
      description: Updates the deal level classification for a property-brand combination in a specific season
      operationId: 46c17ed57521c9c33da7328d0594cdf5
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealLevelsUpdateRequest'
      responses:
        '200':
          description: Deal level updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealLevelsResource'
      security:
      - bearerAuth: []
  /api/spend-tracker/deal-levels/season/{seasonId}/property/{propertyId}/brand/{brandId}:
    delete:
      tags:
      - Spend tracker
      summary: Delete deal level
      description: Removes a deal level classification for a specific property-brand combination in a season
      operationId: bdfcaa7c7f3e7ae7f6df042f6f4ba891
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: integer
      - name: propertyId
        in: path
        description: Property ID
        required: true
        schema:
          type: integer
      - name: brandId
        in: path
        description: Brand ID
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: Empty response when deal level has been deleted successfully.
        '404':
          description: Response with error.
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                    example: Could not find deal level to delete
                type: object
      security:
      - bearerAuth: []
  /api/spend-tracker/deal-types:
    post:
      tags:
      - Spend tracker
      description: Create deal type
      operationId: 36dcf579f48882ca602031cb409a1a7e
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealTypesCreateUpdateRequest'
      responses:
        '200':
          description: Deal type created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealTypesResource'
      security:
      - bearerAuth: []
      summary: 36dcf579f48882ca602031cb409a1a7e
      x-summary-source: derived
  /api/spend-tracker/deal-types/{id}:
    put:
      tags:
      - Spend tracker
      description: Update deal type
      operationId: 99072c0508aa97d8b2a7b84081ca51f4
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealTypesCreateUpdateRequest'
      responses:
        '200':
          description: Deal type updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealTypesResource'
      security:
      - bearerAuth: []
      summary: 99072c0508aa97d8b2a7b84081ca51f4
      x-summary-source: derived
    delete:
      tags:
      - Spend tracker
      description: Delete deal type
      operationId: 5cabbabc832c5a326ee8f9ea0acb30c7
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealTypesDeleteRequest'
      responses:
        '204':
          description: Empty response when deal type has been deleted successfully.
        '404':
          description: Response with error.
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                    example: Could not find deal type to delete
                type: object
      security:
      - bearerAuth: []
      summary: 5cabbabc832c5a326ee8f9ea0acb30c7
      x-summary-source: derived
  /api/spend-tracker/dollar-off-metrics/accuracy-selection:
    get:
      tags:
      - Spend tracker
      description: Get Dollar-Off Accuracy Selections for league and season
      operationId: 1898aa181391b5b09622098751c9de87
      responses:
        '200':
          description: Get Dollar-Off Accuracy Selections for league and season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccuracySelectionResource'
      security:
      - bearerAuth: []
      summary: 1898aa181391b5b09622098751c9de87
      x-summary-source: derived
    post:
      tags:
      - Spend tracker
      description: Highlight a cell in Dollar-Off Metrics Accuracy Selection table
      operationId: e3ff2251a8900ab3b69941bb25cecfe9
      responses:
        '204':
          description: Empty on success
      security:
      - bearerAuth: []
      summary: E3ff2251a8900ab3b69941bb25cecfe9
      x-summary-source: derived
    delete:
      tags:
      - Spend tracker
      description: Remove Highlight from a cell in Dollar-Off Metrics Accuracy Selection table
      operationId: 3920981fad7b05b15a721072177aad85
      responses:
        '204':
          description: Empty on success
      security:
      - bearerAuth: []
      summary: 3920981fad7b05b15a721072177aad85
      x-summary-source: derived
  /api/spend-tracker/dollar-off-metrics/league:
    get:
      tags:
      - Spend tracker
      description: Get Dollar-Off metrics for league and season
      operationId: 3a87e017973166a460942b4ef18f24a4
      responses:
        '200':
          description: League Dollar-Off metrics for Predicted Deal Revenues for league and season
          content:
            application/json:
              schema: {}
      security:
      - bearerAuth: []
      summary: 3a87e017973166a460942b4ef18f24a4
      x-summary-source: derived
  /api/spend-tracker/metrics/dollar-off:
    get:
      tags:
      - Spend tracker
      summary: Get dollar-off metrics
      description: Get Dollar-Off metrics for league in season
      operationId: 35a2788882b0439863fc4e07be964795
      responses:
        '200':
          description: League Dollar-Off metrics for Predicted Deal Revenues for league and season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DollarOffMetricsResource'
      security:
      - bearerAuth: []
    post:
      tags:
      - Spend tracker
      summary: Highlight metrics cell
      description: Highlight a cell in Dollar-Off metrics table
      operationId: 9db709b9538d6ee05d797df13c23ef41
      responses:
        '204':
          description: Empty on success
      security:
      - bearerAuth: []
    delete:
      tags:
      - Spend tracker
      summary: Remove metrics cell highlight
      description: Remove Highlight from a cell in Dollar-Off metrics table
      operationId: d4dcdbeeba7aa55370c1c0778c85adb1
      responses:
        '204':
          description: Empty on success
      security:
      - bearerAuth: []
  /api/spend-tracker/league-assets/{leagueId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch league asset buckets with droplets
      operationId: 177818034594465200b97f570662f837
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
        example: '3'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '298'
      responses:
        '200':
          description: League Asset Buckets with droplets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeagueAssetBucketsCollection'
      security:
      - bearerAuth: []
      summary: 177818034594465200b97f570662f837
      x-summary-source: derived
    post:
      tags:
      - Spend tracker
      description: Fetch league asset buckets with droplets
      operationId: 5fd5bbae0bb3c4c3f3e667142c14a060
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
        example: '3'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '298'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LeagueAssetBucketsUpdateRequest'
      responses:
        '200':
          description: League Asset Buckets with droplets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeagueAssetBucketsCollection'
      security:
      - bearerAuth: []
      summary: 5fd5bbae0bb3c4c3f3e667142c14a060
      x-summary-source: derived
  /api/spend-tracker/league/{leagueId}/season/{seasonId}/minimums/calculate:
    get:
      tags:
      - Spend tracker
      description: Calculate League Minimums, save to database, return League Minimums
      operationId: d3948bb1739920103da839f857669647
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
        example: '1'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '286'
      responses:
        '200':
          description: Minimums Predicted Deal Revenues per League and Season Property Bucket
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalculateLeagueMinimumsResource'
      security:
      - bearerAuth: []
      summary: D3948bb1739920103da839f857669647
      x-summary-source: derived
  /api/spend-tracker/league-properties/{leagueId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch league property buckets and revenues in season
      operationId: 8f3c0dbe61678adbaef1063932d87b3f
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: League data, revenue and buckets with revenues in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeaguePropertyBucketsShowResource'
      security:
      - bearerAuth: []
      summary: 8f3c0dbe61678adbaef1063932d87b3f
      x-summary-source: derived
  /api/spend-tracker/league-properties:
    post:
      tags:
      - Spend tracker
      description: Creates/updates Buckets and Droplets in specific LeaguePropertyBuckets
      operationId: 56c4a4c1da5a07a5eadf43482eaa3dce
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LeaguePropertyBucketsUpdateRequest'
      responses:
        '200':
          description: League data, revenue and buckets with revenus in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeaguePropertyBucketsShowResource'
      security:
      - bearerAuth: []
      summary: 56c4a4c1da5a07a5eadf43482eaa3dce
      x-summary-source: derived
  /api/spend-tracker/revenue/league/{leagueId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch league revenue in season
      operationId: 7da04a734412dc545300d5b667bebfc1
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: League revenue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueLeagueResource'
        '404':
          description: League revenue not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResource'
      security:
      - bearerAuth: []
      summary: 7da04a734412dc545300d5b667bebfc1
      x-summary-source: derived
  /api/spend-tracker/leagues:
    get:
      tags:
      - Spend tracker
      description: Fetch spendtracker leagues with buckets
      operationId: 9f09ef16ffc4e7558ffca3f983224776
      responses:
        '200':
          description: List of spendtracker leagues
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeagueStatusCollection'
      security:
      - bearerAuth: []
      summary: 9f09ef16ffc4e7558ffca3f983224776
      x-summary-source: derived
  /api/spend-tracker/league/{leagueId}/season/{seasonId}/margin-of-error/calculate:
    get:
      tags:
      - Spend tracker
      description: Calculate Margin of Error, save to database, return WIP Predicted Revenues with MOE
      operationId: 18b2eda354297e7ba2b6b9783c7c7010
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
        example: '1'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '286'
      responses:
        '200':
          description: WIP Predicted Deal Revenues with Margin of Error for whole league
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalculateMarginOfErrorResource'
      security:
      - bearerAuth: []
      summary: 18b2eda354297e7ba2b6b9783c7c7010
      x-summary-source: derived
  /api/spend-tracker/property-deal-revenues/actual/season/{seasonId}/property/{propertyId}:
    get:
      tags:
      - Spend tracker
      description: Fetch property deals with actual revenues grouped by parent brand
      operationId: eb23e3c13fff633587f3d27f326ad6f4
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '296'
      - name: propertyId
        in: path
        description: Property(Team) ID
        required: true
        schema:
          type: string
        example: '2'
      responses:
        '200':
          description: League Asset Buckets, Property revenue and array of property deals with revenues
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PropertyDealRevenuesGetActualResource'
      security:
      - bearerAuth: []
      summary: Eb23e3c13fff633587f3d27f326ad6f4
      x-summary-source: derived
  /api/spend-tracker/property-deal-revenues/predicted/season/{seasonId}/property/{propertyId}:
    get:
      tags:
      - Spend tracker
      description: Fetch property deals with predicted revenues grouped by parent brand
      operationId: 43710b2f5aa2248986bbfe24208909ea
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '296'
      - name: propertyId
        in: path
        description: Property(Team) ID
        required: true
        schema:
          type: string
        example: '2'
      responses:
        '200':
          description: Predicted Deal Revenues response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PropertyDealRevenuesGetPredictedResource'
      security:
      - bearerAuth: []
      summary: 43710b2f5aa2248986bbfe24208909ea
      x-summary-source: derived
  /api/spend-tracker/property-deal-revenues/predicted/league/{leagueId}/season/{seasonId}/download:
    get:
      tags:
      - Spend tracker
      description: Fetch league deals with predicted revenues grouped by parent brand
      operationId: f65158e84467d3ba4b9026bc41937d9f
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '296'
      responses:
        '200':
          description: Predicted Deal Revenues response
          content:
            application/json:
              schema:
                type: string
      security:
      - bearerAuth: []
      summary: F65158e84467d3ba4b9026bc41937d9f
      x-summary-source: derived
  /api/spend-tracker/revenue/accept-wip-predicted-deal-revenues:
    post:
      tags:
      - Spend tracker
      operationId: a74b2a2bbdc1bfb4371ca649861ba15a
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptWIPPredictedDealRevenuesRequest'
      responses:
        '204':
          description: Success response
      security:
      - bearerAuth: []
      summary: A74b2a2bbdc1bfb4371ca649861ba15a
      x-summary-source: derived
  /api/spend-tracker/property-deal-revenues/season/{seasonId}/property/{propertyId}:
    get:
      tags:
      - Spend tracker
      description: Fetch property deals with revenues grouped by parent brand
      operationId: fe1e46e83488920c9c29b1da40dced1b
      parameters:
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
      - name: propertyId
        in: path
        description: Property(Team) ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Property revenue and array of property deals with revenues for Subcategory Deals page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PropertyDealRevenuesGetResource'
      security:
      - bearerAuth: []
      summary: Fe1e46e83488920c9c29b1da40dced1b
      x-summary-source: derived
  /api/spend-tracker/publish/season:
    put:
      tags:
      - Spend tracker
      description: Publish SpendTracker data by League and Season
      operationId: 34fee405549f93f4d09d510829b40034
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishedSeasonUpdateRequest'
      responses:
        '200':
          description: SpendTracker data published successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishedSeasonResource'
      security:
      - bearerAuth: []
      summary: 34fee405549f93f4d09d510829b40034
      x-summary-source: derived
  /api/spend-tracker/revenue/deals:
    get:
      tags:
      - Spend tracker
      description: Fetch deal, property and predicted revenues for property in season
      operationId: e9840745f3112724811eb572c9f278a1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevenueDealGetPropertyDealRevenuesRequest'
      responses:
        '200':
          description: Deals,property and predicted revenues for property in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueDealGetPropertyDealRevenuesResource'
      security:
      - bearerAuth: []
      summary: E9840745f3112724811eb572c9f278a1
      x-summary-source: derived
  /api/spend-tracker/revenue/deals/deal:
    get:
      tags:
      - Spend tracker
      description: Fetch brand revenues, types and levels for property across seasons
      operationId: 8a0e74abadaaa3a18f50c2fe43ffc97a
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevenueDealGetDealDataBySeasonsRequest'
      responses:
        '200':
          description: Brand revenues with deal levels and types grouped by season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueDealGetDealDataBySeasonsCollection'
      security:
      - bearerAuth: []
      summary: 8a0e74abadaaa3a18f50c2fe43ffc97a
      x-summary-source: derived
    post:
      tags:
      - Spend tracker
      description: Update deal brand revenues across seasons
      operationId: ef78556dff185a7e6a0bd4831b8240bc
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevenueDealUpdateDealRevenuesRequest'
      responses:
        '200':
          description: Brand revenues with deal levels and types grouped by season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueDealGetDealDataBySeasonsCollection'
      security:
      - bearerAuth: []
      summary: Ef78556dff185a7e6a0bd4831b8240bc
      x-summary-source: derived
  /api/spend-tracker/revenue/deals/deal/season:
    get:
      tags:
      - Spend tracker
      description: Fetch actual/estimated revenue and predicted revenue for deal in season
      operationId: b80dfe9aeb9dac36e732c0a23b14215d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevenueDealGetDealRevenueInSeasonRequest'
      responses:
        '200':
          description: Deal actual/estimated revenue and predicted revenue in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueDealGetDealRevenueInSeasonResource'
      security:
      - bearerAuth: []
      summary: B80dfe9aeb9dac36e732c0a23b14215d
      x-summary-source: derived
  /api/spend-tracker/revenue/deal-revenues/duplicate:
    post:
      tags:
      - Spend tracker
      description: Duplicate actual/estimated Deal Revenues from one season to another
      operationId: af3b544d938853f5f0bf665495c4f360
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DealRevenuesDuplicateRequest'
      responses:
        '200':
          description: Success message
          content:
            application/json:
              schema:
                properties:
                  name:
                    type: string
                type: object
      security:
      - bearerAuth: []
      summary: Af3b544d938853f5f0bf665495c4f360
      x-summary-source: derived
  /api/spend-tracker/revenue/subcategory/factors:
    post:
      tags:
      - Spend tracker
      description: Update subcategory revenue factors for league in season
      operationId: 19cbe81114ddb1f8f93f145818294cc9
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubcategoryRevenueFactorsUpdateRequest'
      responses:
        '201':
          description: Saved Subcategory Revenue Factors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubcategoryRevenueFactorsUpdateResource'
      security:
      - bearerAuth: []
      summary: 19cbe81114ddb1f8f93f145818294cc9
      x-summary-source: derived
  /api/spend-tracker/revenue/subcategory/{subcategoryId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch subcategory revenues in season
      operationId: 87bcb93801ca3d4aa5d78f9615ac9904
      parameters:
      - name: subcategoryId
        in: path
        description: Subcategory ID
        required: true
        schema:
          type: string
        example: '41'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '298'
      responses:
        '200':
          description: Total and average subcategory revenues in season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubcategoryRevenuesShowResource'
      security:
      - bearerAuth: []
      summary: 87bcb93801ca3d4aa5d78f9615ac9904
      x-summary-source: derived
  /api/spend-tracker/revenue/subcategory-revenues:
    post:
      tags:
      - Spend tracker
      operationId: d107e572679297d0c9295b2f30d87792
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatedSubcategoryRevenuesRequest'
      responses:
        '201':
          description: Saved Total and average subcategory revenues
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateSubcategoryRevenuesResource'
      security:
      - bearerAuth: []
      summary: D107e572679297d0c9295b2f30d87792
      x-summary-source: derived
  /api/spend-tracker/revenue/subcategories-deals/league/{leagueId}/season/{seasonId}:
    get:
      tags:
      - Spend tracker
      description: Fetch league subcategories revenues report in season
      operationId: 18a937056b508c523abd38a822777184
      parameters:
      - name: leagueId
        in: path
        description: League ID
        required: true
        schema:
          type: string
        example: '1'
      - name: seasonId
        in: path
        description: Season ID
        required: true
        schema:
          type: string
        example: '286'
      responses:
        '200':
          description: Subcategories revenues league report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubcategoryRevenuesDealsBySubcategoryResource'
      security:
      - bearerAuth: []
      summary: 18a937056b508c523abd38a822777184
      x-summary-source: derived
components:
  schemas:
    SpendTrackerChangeLogShowResource:


# --- truncated at 32 KB (85 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sponsorunited/refs/heads/main/openapi/sponsorunited-spend-tracker-api-openapi.yml